You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2010/08/27 02:10:15 UTC
svn commit: r989983 - in /incubator/lcf/trunk/modules:
filesystem-tests/org/apache/acf/filesystem_tests/ framework/
framework/agents/org/ framework/agents/src/ framework/agents/src/main/
framework/agents/src/main/java/ framework/agents/src/main/java/or...
Author: kwright
Date: Fri Aug 27 00:10:12 2010
New Revision: 989983
URL: http://svn.apache.org/viewvc?rev=989983&view=rev
Log:
Rearrange framework portion of tree, in preparation for addition of maven build scripts. Part of CONNECTORS-92.
Added:
incubator/lcf/trunk/modules/framework/agents/src/
incubator/lcf/trunk/modules/framework/agents/src/main/
incubator/lcf/trunk/modules/framework/agents/src/main/java/
incubator/lcf/trunk/modules/framework/agents/src/main/java/org/
- copied from r989966, incubator/lcf/trunk/modules/framework/agents/org/
incubator/lcf/trunk/modules/framework/api-service/
incubator/lcf/trunk/modules/framework/api-service/src/
incubator/lcf/trunk/modules/framework/api-service/src/main/
incubator/lcf/trunk/modules/framework/api-service/src/main/webapp/
incubator/lcf/trunk/modules/framework/api-service/src/main/webapp/WEB-INF/
- copied from r989966, incubator/lcf/trunk/modules/framework/api/WEB-INF/
incubator/lcf/trunk/modules/framework/api-servlet/
- copied from r989966, incubator/lcf/trunk/modules/framework/api/
incubator/lcf/trunk/modules/framework/api-servlet/src/
incubator/lcf/trunk/modules/framework/api-servlet/src/main/
incubator/lcf/trunk/modules/framework/api-servlet/src/main/java/
incubator/lcf/trunk/modules/framework/api-servlet/src/main/java/org/
- copied from r989966, incubator/lcf/trunk/modules/framework/api/org/
incubator/lcf/trunk/modules/framework/authority-service/src/
incubator/lcf/trunk/modules/framework/authority-service/src/main/
incubator/lcf/trunk/modules/framework/authority-service/src/main/webapp/
incubator/lcf/trunk/modules/framework/authority-service/src/main/webapp/WEB-INF/
- copied from r989966, incubator/lcf/trunk/modules/framework/authority-service/WEB-INF/
incubator/lcf/trunk/modules/framework/authority-servlet/
- copied from r989966, incubator/lcf/trunk/modules/framework/authority-service/
incubator/lcf/trunk/modules/framework/authority-servlet/src/
incubator/lcf/trunk/modules/framework/authority-servlet/src/main/
incubator/lcf/trunk/modules/framework/authority-servlet/src/main/java/
incubator/lcf/trunk/modules/framework/authority-servlet/src/main/java/org/
- copied from r989966, incubator/lcf/trunk/modules/framework/authority-service/org/
incubator/lcf/trunk/modules/framework/core/src/
incubator/lcf/trunk/modules/framework/core/src/main/
incubator/lcf/trunk/modules/framework/core/src/main/java/
incubator/lcf/trunk/modules/framework/core/src/main/java/org/
- copied from r989966, incubator/lcf/trunk/modules/framework/core/org/
incubator/lcf/trunk/modules/framework/crawler-ui/src/
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/ACF-logo.png
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/ACF-logo.png
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/WEB-INF/
- copied from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/WEB-INF/
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/adminDefaults.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/adminDefaults.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/adminHeaders.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/adminHeaders.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/banner.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/banner.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/checkAdminLogin.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/checkAdminLogin.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/documentstatus.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/documentstatus.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/editauthority.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/editauthority.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/editconnection.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/editconnection.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/editjob.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/editjob.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/editoutput.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/editoutput.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/error.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/error.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/execute.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/execute.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/index.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/index.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/listauthorities.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/listauthorities.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/listconnections.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/listconnections.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/listjobs.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/listjobs.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/listoutputs.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/listoutputs.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/maxactivityreport.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/maxactivityreport.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/maxbandwidthreport.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/maxbandwidthreport.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/navigation.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/navigation.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/queuestatus.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/queuestatus.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/resultreport.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/resultreport.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/setupAdminProfile.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/setupAdminProfile.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/showjobstatus.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/showjobstatus.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/simplereport.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/simplereport.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/style.css
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/style.css
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/viewauthority.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/viewauthority.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/viewconnection.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/viewconnection.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/viewjob.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/viewjob.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/src/main/webapp/viewoutput.jsp
- copied unchanged from r989966, incubator/lcf/trunk/modules/framework/crawler-ui/viewoutput.jsp
incubator/lcf/trunk/modules/framework/jetty-runner/src/
incubator/lcf/trunk/modules/framework/jetty-runner/src/main/
incubator/lcf/trunk/modules/framework/jetty-runner/src/main/java/
incubator/lcf/trunk/modules/framework/jetty-runner/src/main/java/org/
- copied from r989966, incubator/lcf/trunk/modules/framework/jetty-runner/org/
incubator/lcf/trunk/modules/framework/pull-agent/src/
incubator/lcf/trunk/modules/framework/pull-agent/src/main/
incubator/lcf/trunk/modules/framework/pull-agent/src/main/java/
incubator/lcf/trunk/modules/framework/pull-agent/src/main/java/org/
- copied from r989966, incubator/lcf/trunk/modules/framework/pull-agent/org/
incubator/lcf/trunk/modules/framework/tests/src/
incubator/lcf/trunk/modules/framework/tests/src/main/
incubator/lcf/trunk/modules/framework/tests/src/main/java/
incubator/lcf/trunk/modules/framework/tests/src/main/java/org/
- copied from r989966, incubator/lcf/trunk/modules/framework/tests/org/
incubator/lcf/trunk/modules/framework/ui-core/src/
incubator/lcf/trunk/modules/framework/ui-core/src/main/
incubator/lcf/trunk/modules/framework/ui-core/src/main/java/
incubator/lcf/trunk/modules/framework/ui-core/src/main/java/org/
- copied from r989966, incubator/lcf/trunk/modules/framework/ui-core/org/
Removed:
incubator/lcf/trunk/modules/framework/agents/org/
incubator/lcf/trunk/modules/framework/api/
incubator/lcf/trunk/modules/framework/api-servlet/WEB-INF/
incubator/lcf/trunk/modules/framework/api-servlet/org/
incubator/lcf/trunk/modules/framework/authority-service/WEB-INF/
incubator/lcf/trunk/modules/framework/authority-service/org/
incubator/lcf/trunk/modules/framework/authority-servlet/WEB-INF/
incubator/lcf/trunk/modules/framework/authority-servlet/org/
incubator/lcf/trunk/modules/framework/core/org/
incubator/lcf/trunk/modules/framework/crawler-ui/ACF-logo.png
incubator/lcf/trunk/modules/framework/crawler-ui/WEB-INF/
incubator/lcf/trunk/modules/framework/crawler-ui/adminDefaults.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/adminHeaders.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/authorities/
incubator/lcf/trunk/modules/framework/crawler-ui/banner.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/checkAdminLogin.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/documentstatus.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/editauthority.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/editconnection.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/editjob.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/editoutput.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/error.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/execute.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/index.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/listauthorities.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/listconnections.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/listjobs.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/listoutputs.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/maxactivityreport.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/maxbandwidthreport.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/navigation.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/queuestatus.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/resultreport.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/setupAdminProfile.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/showjobstatus.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/simplereport.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/style.css
incubator/lcf/trunk/modules/framework/crawler-ui/viewauthority.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/viewconnection.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/viewjob.jsp
incubator/lcf/trunk/modules/framework/crawler-ui/viewoutput.jsp
incubator/lcf/trunk/modules/framework/jetty-runner/org/
incubator/lcf/trunk/modules/framework/pull-agent/org/
incubator/lcf/trunk/modules/framework/tests/org/
incubator/lcf/trunk/modules/framework/ui-core/org/
Modified:
incubator/lcf/trunk/modules/filesystem-tests/org/apache/acf/filesystem_tests/TestBase.java
incubator/lcf/trunk/modules/framework/build.xml
incubator/lcf/trunk/modules/framework/jetty-runner/src/main/java/org/apache/acf/jettyrunner/ACFJettyRunner.java
Modified: incubator/lcf/trunk/modules/filesystem-tests/org/apache/acf/filesystem_tests/TestBase.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/filesystem-tests/org/apache/acf/filesystem_tests/TestBase.java?rev=989983&r1=989982&r2=989983&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/filesystem-tests/org/apache/acf/filesystem_tests/TestBase.java (original)
+++ incubator/lcf/trunk/modules/filesystem-tests/org/apache/acf/filesystem_tests/TestBase.java Fri Aug 27 00:10:12 2010
@@ -142,7 +142,7 @@ public class TestBase extends org.apache
throws Exception
{
HttpClient client = new HttpClient();
- HttpMethod method = new GetMethod("http://localhost:"+Integer.toString(testPort)+"/acf-api/json/"+command+((argument==null)?"":"?object="+
+ HttpMethod method = new GetMethod("http://localhost:"+Integer.toString(testPort)+"/acf-api-service/json/"+command+((argument==null)?"":"?object="+
java.net.URLEncoder.encode(argument,"utf-8")));
int response = client.executeMethod(method);
byte[] responseData = method.getResponseBody();
@@ -191,7 +191,7 @@ public class TestBase extends org.apache
// This will cause jetty to ignore all of the framework and jdbc jars in the war, which is what we want.
lcfAuthorityService.setParentLoaderPriority(true);
server.addHandler(lcfAuthorityService);
- WebAppContext lcfApi = new WebAppContext("../../framework/dist/web/war/acf-api.war","/acf-api");
+ WebAppContext lcfApi = new WebAppContext("../../framework/dist/web/war/acf-api-service.war","/acf-api-service");
lcfApi.setParentLoaderPriority(true);
server.addHandler(lcfApi);
server.start();
Modified: incubator/lcf/trunk/modules/framework/build.xml
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/framework/build.xml?rev=989983&r1=989982&r2=989983&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/framework/build.xml (original)
+++ incubator/lcf/trunk/modules/framework/build.xml Fri Aug 27 00:10:12 2010
@@ -15,16 +15,16 @@
<include name="*.jar"/>
</fileset>
</classpath>
- <fileset dir="core" includes="**/*.java"/>
- <fileset dir="agents" includes="**/*.java"/>
- <fileset dir="pull-agent" includes="**/*.java"/>
- <fileset dir="ui-core" includes="**/*.java"/>
+ <fileset dir="core/src/main/java" includes="**/*.java"/>
+ <fileset dir="agents/src/main/java" includes="**/*.java"/>
+ <fileset dir="pull-agent/src/main/java" includes="**/*.java"/>
+ <fileset dir="ui-core/src/main/java" includes="**/*.java"/>
</javadoc>
</target>
<target name="compile-core">
<mkdir dir="build/core/classes"/>
- <javac srcdir="core" destdir="build/core/classes" target="1.5" source="1.4" debug="true" debuglevel="lines,vars,source">
+ <javac srcdir="core/src/main/java" destdir="build/core/classes" target="1.5" source="1.4" debug="true" debuglevel="lines,vars,source">
<classpath>
<fileset dir="lib">
<include name="*.jar"/>
@@ -35,7 +35,7 @@
<target name="compile-ui-core" depends="compile-core">
<mkdir dir="build/ui-core/classes"/>
- <javac srcdir="ui-core" destdir="build/ui-core/classes" target="1.5" source="1.4" debug="true" debuglevel="lines,vars,source">
+ <javac srcdir="ui-core/src/main/java" destdir="build/ui-core/classes" target="1.5" source="1.4" debug="true" debuglevel="lines,vars,source">
<classpath>
<fileset dir="lib">
<include name="*.jar"/>
@@ -47,7 +47,7 @@
<target name="compile-agents" depends="compile-core">
<mkdir dir="build/agents/classes"/>
- <javac srcdir="agents" destdir="build/agents/classes" target="1.5" source="1.4" debug="true" debuglevel="lines,vars,source">
+ <javac srcdir="agents/src/main/java" destdir="build/agents/classes" target="1.5" source="1.4" debug="true" debuglevel="lines,vars,source">
<classpath>
<fileset dir="lib">
<include name="*.jar"/>
@@ -59,7 +59,7 @@
<target name="compile-pull-agent" depends="compile-core,compile-agents">
<mkdir dir="build/pull-agent/classes"/>
- <javac srcdir="pull-agent" destdir="build/pull-agent/classes" target="1.5" source="1.4" debug="true" debuglevel="lines,vars,source">
+ <javac srcdir="pull-agent/src/main/java" destdir="build/pull-agent/classes" target="1.5" source="1.4" debug="true" debuglevel="lines,vars,source">
<classpath>
<fileset dir="lib">
<include name="*.jar"/>
@@ -72,7 +72,7 @@
<target name="compile-jetty-runner" depends="compile-core,compile-agents">
<mkdir dir="build/jetty-runner/classes"/>
- <javac srcdir="jetty-runner" destdir="build/jetty-runner/classes" target="1.5" source="1.4" debug="true" debuglevel="lines,vars,source">
+ <javac srcdir="jetty-runner/src/main/java" destdir="build/jetty-runner/classes" target="1.5" source="1.4" debug="true" debuglevel="lines,vars,source">
<classpath>
<fileset dir="lib">
<include name="*.jar"/>
@@ -84,9 +84,9 @@
</javac>
</target>
- <target name="compile-authority-service" depends="compile-core,compile-agents,compile-pull-agent">
- <mkdir dir="build/authority-service/classes"/>
- <javac srcdir="authority-service" destdir="build/authority-service/classes" target="1.5" source="1.4" debug="true" debuglevel="lines,vars,source">
+ <target name="compile-authority-servlet" depends="compile-core,compile-agents,compile-pull-agent">
+ <mkdir dir="build/authority-servlet/classes"/>
+ <javac srcdir="authority-servlet/src/main/java" destdir="build/authority-servlet/classes" target="1.5" source="1.4" debug="true" debuglevel="lines,vars,source">
<classpath>
<fileset dir="lib">
<include name="*.jar"/>
@@ -98,9 +98,9 @@
</javac>
</target>
- <target name="compile-api" depends="compile-core,compile-ui-core,compile-agents,compile-pull-agent">
- <mkdir dir="build/api/classes"/>
- <javac srcdir="api" destdir="build/api/classes" target="1.5" source="1.4" debug="true" debuglevel="lines,vars,source">
+ <target name="compile-api-servlet" depends="compile-core,compile-ui-core,compile-agents,compile-pull-agent">
+ <mkdir dir="build/api-servlet/classes"/>
+ <javac srcdir="api-servlet/src/main/java" destdir="build/api-servlet/classes" target="1.5" source="1.4" debug="true" debuglevel="lines,vars,source">
<classpath>
<fileset dir="lib">
<include name="*.jar"/>
@@ -129,7 +129,7 @@
</taskdef >
<!-- Compile jsp's to java -->
<mkdir dir="build/crawler-ui/java"/>
- <jasper2 validateXml="false" uriroot="crawler-ui" webXmlFragment="crawler-ui/WEB-INF/web-generated.xml" outputDir="build/crawler-ui/java" />
+ <jasper2 validateXml="false" uriroot="crawler-ui/src/main/webapp" webXmlFragment="crawler-ui/src/main/webapp/WEB-INF/web-generated.xml" outputDir="build/crawler-ui/java" />
<!-- Compile java classes -->
<mkdir dir="build/crawler-ui/classes"/>
<javac srcdir="build/crawler-ui/java" destdir="build/crawler-ui/classes" target="1.5" source="1.4" debug="true" debuglevel="lines,vars,source">
@@ -142,7 +142,7 @@
<pathelement location="build/ui-core/classes"/>
<pathelement location="build/agents/classes"/>
<pathelement location="build/pull-agent/classes"/>
- <fileset dir="crawler-ui/WEB-INF/lib">
+ <fileset dir="crawler-ui/src/main/webapp/WEB-INF/lib">
<include name="*.jar"/>
</fileset>
</classpath>
@@ -175,7 +175,7 @@
<jar destfile="build/jar/acf-jetty-runner.jar" basedir="build/jetty-runner/classes"/>
</target>
- <target name="webapp-authority-service" depends="jar-core,jar-agents,jar-pull-agent,compile-authority-service">
+ <target name="webapp-authority-service" depends="jar-core,jar-agents,jar-pull-agent,compile-authority-servlet">
<mkdir dir="build/webapp/authority-service/WEB-INF/lib"/>
<copy todir="build/webapp/authority-service/WEB-INF/lib">
<fileset dir="lib">
@@ -206,12 +206,12 @@
<include name="acf-pull-agent.jar"/>
</fileset>
</copy>
- <jar destfile="build/webapp/authority-service/WEB-INF/lib/acf-authority-servlet.jar" basedir="build/authority-service/classes"/>
+ <jar destfile="build/webapp/authority-service/WEB-INF/lib/acf-authority-servlet.jar" basedir="build/authority-servlet/classes"/>
</target>
- <target name="webapp-api" depends="jar-core,jar-ui-core,jar-agents,jar-pull-agent,compile-api">
- <mkdir dir="build/webapp/api/WEB-INF/lib"/>
- <copy todir="build/webapp/api/WEB-INF/lib">
+ <target name="webapp-api-service" depends="jar-core,jar-ui-core,jar-agents,jar-pull-agent,compile-api-servlet">
+ <mkdir dir="build/webapp/api-service/WEB-INF/lib"/>
+ <copy todir="build/webapp/api-service/WEB-INF/lib">
<fileset dir="lib">
<include name="commons-codec*.jar"/>
<include name="commons-collections*.jar"/>
@@ -233,7 +233,7 @@
<include name="derby*.jar"/>
</fileset>
</copy>
- <copy todir="build/webapp/api/WEB-INF/lib">
+ <copy todir="build/webapp/api-service/WEB-INF/lib">
<fileset dir="build/jar">
<include name="acf-core.jar"/>
<include name="acf-ui-core.jar"/>
@@ -241,13 +241,13 @@
<include name="acf-pull-agent.jar"/>
</fileset>
</copy>
- <jar destfile="build/webapp/api/WEB-INF/lib/acf-api-servlet.jar" basedir="build/api/classes"/>
+ <jar destfile="build/webapp/api-service/WEB-INF/lib/acf-api-servlet.jar" basedir="build/api-servlet/classes"/>
</target>
<target name="webapp-crawler-ui" depends="compile-crawler-ui,jar-core,jar-ui-core,jar-agents,jar-pull-agent">
<mkdir dir="build/webapp/crawler-ui/WEB-INF/lib"/>
<copy todir="build/webapp/crawler-ui/WEB-INF/lib">
- <fileset dir="crawler-ui/WEB-INF/lib">
+ <fileset dir="crawler-ui/src/main/webapp/WEB-INF/lib">
<include name="*.jar"/>
</fileset>
</copy>
@@ -283,28 +283,28 @@
</copy>
<mkdir dir="build/webapp/crawler-ui/WEB-INF/jsp"/>
<copy todir="build/webapp/crawler-ui/WEB-INF/jsp">
- <fileset dir="crawler-ui/WEB-INF/jsp">
+ <fileset dir="crawler-ui/src/main/webapp/WEB-INF/jsp">
<include name="*.tld"/>
</fileset>
</copy>
<copy todir="build/webapp/crawler-ui">
- <fileset dir="crawler-ui" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
+ <fileset dir="crawler-ui/src/main/webapp" includes="**/*.jsp,**/*.css,**/*.png,**/*.html"/>
</copy>
</target>
<target name="war-authority-service" depends="webapp-authority-service">
<mkdir dir="dist/web/war"/>
- <war destfile="dist/web/war/acf-authority-service.war" webxml="authority-service/WEB-INF/web.xml" basedir="build/webapp/authority-service"/>
+ <war destfile="dist/web/war/acf-authority-service.war" webxml="authority-service/src/main/webapp/WEB-INF/web.xml" basedir="build/webapp/authority-service"/>
</target>
- <target name="war-api" depends="webapp-api">
+ <target name="war-api-service" depends="webapp-api-service">
<mkdir dir="dist/web/war"/>
- <war destfile="dist/web/war/acf-api.war" webxml="api/WEB-INF/web.xml" basedir="build/webapp/api"/>
+ <war destfile="dist/web/war/acf-api-service.war" webxml="api-service/src/main/webapp/WEB-INF/web.xml" basedir="build/webapp/api-service"/>
</target>
<target name="war-crawler-ui" depends="webapp-crawler-ui">
<mkdir dir="dist/web/war"/>
- <war destfile="dist/web/war/acf-crawler-ui.war" webxml="crawler-ui/WEB-INF/web.xml" basedir="build/webapp/crawler-ui"/>
+ <war destfile="dist/web/war/acf-crawler-ui.war" webxml="crawler-ui/src/main/webapp/WEB-INF/web.xml" basedir="build/webapp/crawler-ui"/>
</target>
<target name="processes" depends="jar-core,jar-agents,jar-pull-agent">
@@ -345,7 +345,7 @@
</copy>
</target>
- <target name="example" depends="war-crawler-ui,war-api,war-authority-service,jar-jetty-runner,jar-core,jar-agents,jar-pull-agent">
+ <target name="example" depends="war-crawler-ui,war-api-service,war-authority-service,jar-jetty-runner,jar-core,jar-agents,jar-pull-agent">
<mkdir dir="dist/example/lib"/>
<copy todir="dist/example/lib">
<fileset dir="lib">
@@ -400,9 +400,9 @@
</copy>
</target>
- <target name="compile-tests" depends="compile-core,compile-ui-core,compile-agents,compile-pull-agent,compile-authority-service,compile-api">
+ <target name="compile-tests" depends="compile-core,compile-ui-core,compile-agents,compile-pull-agent,compile-authority-servlet,compile-api-servlet">
<mkdir dir="build/tests/classes"/>
- <javac srcdir="tests" destdir="build/tests/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
+ <javac srcdir="tests/src/main/java" destdir="build/tests/classes" target="1.5" source="1.5" debug="true" debuglevel="lines,vars,source">
<classpath>
<fileset dir="lib">
<include name="*.jar"/>
@@ -411,8 +411,8 @@
<pathelement location="build/ui-core/classes"/>
<pathelement location="build/agents/classes"/>
<pathelement location="build/pull-agent/classes"/>
- <pathelement location="build/authority-service/classes"/>
- <pathelement location="build/api/classes"/>
+ <pathelement location="build/authority-servlet/classes"/>
+ <pathelement location="build/api-servlet/classes"/>
</classpath>
</javac>
</target>
@@ -442,8 +442,8 @@
<pathelement location="build/ui-core/classes"/>
<pathelement location="build/agents/classes"/>
<pathelement location="build/pull-agent/classes"/>
- <pathelement location="build/authority-service/classes"/>
- <pathelement location="build/api/classes"/>
+ <pathelement location="build/authority-servlet/classes"/>
+ <pathelement location="build/api-servlet/classes"/>
<pathelement location="build/tests/classes"/>
</classpath>
<test name="org.apache.acf.agents.tests.Sanity" todir="test-output"/>
@@ -452,6 +452,6 @@
</junit>
</target>
- <target name="all" depends="processes,war-authority-service,war-crawler-ui,war-api,example,doc,tests,run-tests"/>
+ <target name="all" depends="processes,war-authority-service,war-crawler-ui,war-api-service,example,doc,tests,run-tests"/>
</project>
Modified: incubator/lcf/trunk/modules/framework/jetty-runner/src/main/java/org/apache/acf/jettyrunner/ACFJettyRunner.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/framework/jetty-runner/src/main/java/org/apache/acf/jettyrunner/ACFJettyRunner.java?rev=989983&r1=989966&r2=989983&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/framework/jetty-runner/src/main/java/org/apache/acf/jettyrunner/ACFJettyRunner.java (original)
+++ incubator/lcf/trunk/modules/framework/jetty-runner/src/main/java/org/apache/acf/jettyrunner/ACFJettyRunner.java Fri Aug 27 00:10:12 2010
@@ -77,7 +77,7 @@ public class ACFJettyRunner
// This will cause jetty to ignore all of the framework and jdbc jars in the war, which is what we want.
lcfAuthorityService.setParentLoaderPriority(true);
server.addHandler(lcfAuthorityService);
- WebAppContext lcfApi = new WebAppContext(apiWarPath,"/acf-api");
+ WebAppContext lcfApi = new WebAppContext(apiWarPath,"/acf-api-service");
lcfApi.setParentLoaderPriority(true);
server.addHandler(lcfApi);
}
@@ -163,7 +163,7 @@ public class ACFJettyRunner
String crawlerWarPath = "war/acf-crawler-ui.war";
String authorityserviceWarPath = "war/acf-authority-service.war";
- String apiWarPath = "war/acf-api.war";
+ String apiWarPath = "war/acf-api-service.war";
if (args.length == 4)
{
crawlerWarPath = args[1];