commit | e0c74d4ffebb8500c38d8d0a717c4bb51dbdc3d3 | [log] [tgz] |
---|---|---|
author | Radu Cotescu <radu@apache.org> | Wed Jun 02 17:29:27 2021 +0200 |
committer | Radu Cotescu <radu@apache.org> | Wed Jun 02 17:29:27 2021 +0200 |
tree | d190c7a18c8aabcf47e5aa0ac99a3083b4fd1eb5 | |
parent | 8e71ac7f2491d531f943ad2210186de657e04448 [diff] |
[maven-release-plugin] prepare for next development iteration
This module is part of the Apache Sling project.
This module implements a script engine for java servlets, that are compiled on the fly by Sling.
To test it:
mvn -P autoInstallBundle clean install -Dsling.url=http://localhost:8080/system/console
If Sling is running with the launchpad/testing setup.
package apps.foo;
import java.io.IOException; import javax.servlet.ServletException; import org.apache.sling.api.SlingHttpServletRequest; import org.apache.sling.api.SlingHttpServletResponse; import org.apache.sling.api.servlets.SlingSafeMethodsServlet;
public class foo extends SlingSafeMethodsServlet {
protected void doGet(SlingHttpServletRequest request, SlingHttpServletResponse response) throws ServletException, IOException { response.setContentType("text/plain"); response.getWriter().write("Response from " + getClass().getName() + " at " + new java.util.Date()); }
}
Response from apps.foo.foo at Tue Nov 18 14:49:14 CET 2008