Commits

Anonymous committed f5f398f

WW-1251 - added Eclipse .classpath files to ant new target

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@2503573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits a50f440

Comments (0)

Files changed (2)

File webapps/blank/.classpath

+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src/java"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry sourcepath="@WEBWORK_HOME@/webwork-@WEBWORK_VERSION@.jar" kind="lib" path="@WEBWORK_HOME@/webwork-@WEBWORK_VERSION@.jar"/>
+	<classpathentry sourcepath="@WEBWORK_HOME@/lib/source/xwork-src.jar" kind="lib" path="@WEBWORK_HOME@/lib/default/xwork.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/default/commons-logging.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/default/freemarker.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/default/javamail.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/default/ognl.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/default/oscore.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/default/rife-continuations.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/quickstart/log4j.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/spring/spring-web.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/spring/cglib-nodep.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/spring/commons-attributes-api.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/spring/commons-logging.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/spring/spring-aop.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/spring/spring-beans.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/spring/spring-context.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/spring/spring-core.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/portlet/portlet-api.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/fileupload/commons-fileupload.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/cewolf/cewolf.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/ajax/dwr.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/tiles/tiles-core.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/tiles/commons-digester.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/sitemesh/sitemesh.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/velocity/velocity-tools-view.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/velocity/commons-collections.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/velocity/velocity.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/velocity/velocity-dep.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/xslt/jcommon.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/xslt/dom.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/hibernate/hibernate.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/hibernate/antlr.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/hibernate/asm.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/hibernate/cglib.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/hibernate/commons-collections.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/hibernate/commons-logging.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/hibernate/dom4j.jar"/>
+	<classpathentry kind="lib" path="@WEBWORK_HOME@/lib/hibernate/ehcache.jar"/>
+	<classpathentry kind="output" path="build"/>
+</classpath>

File webapps/build.xml

                 <include name="**"/>
                 <exclude name=".#**"/>
                 <exclude name="*.iml"/>
+                <exclude name="*.classpath"/>
                 <exclude name="CVS/**"/>
                 <exclude name="**/CVS"/>
             </fileset>
             <include name="${new.app.name}.i*"/>
         </replace>
 
+        <!-- Copy the Eclipse project file(s) -->
+        <copy file="blank/.classpath" tofile="${new.app.name}/.classpath"/>
+        <replace file="${new.app.name}/.classpath" value="${basedir}/.." token="@WEBWORK_HOME@"/>
+        <replace file="${new.app.name}/.classpath" value="${version}" token="@WEBWORK_VERSION@"/>
+
         <echo level="info">
             +=============================================================+
             |    -- Your Web Application was created successfully! --     |