incubator-olio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shee...@apache.org
Subject svn commit: r882774 - /incubator/olio/webapp/java/trunk/ws/bp-project/app-server-ant.xml
Date Fri, 20 Nov 2009 23:20:08 GMT
Author: sheetal
Date: Fri Nov 20 23:20:07 2009
New Revision: 882774

URL: http://svn.apache.org/viewvc?rev=882774&view=rev
Log:
OLIO-134 Modified the build script to be generic

Modified:
    incubator/olio/webapp/java/trunk/ws/bp-project/app-server-ant.xml

Modified: incubator/olio/webapp/java/trunk/ws/bp-project/app-server-ant.xml
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/java/trunk/ws/bp-project/app-server-ant.xml?rev=882774&r1=882773&r2=882774&view=diff
==============================================================================
--- incubator/olio/webapp/java/trunk/ws/bp-project/app-server-ant.xml (original)
+++ incubator/olio/webapp/java/trunk/ws/bp-project/app-server-ant.xml Fri Nov 20 23:20:07
2009
@@ -24,8 +24,8 @@
 <project name="app-server-ant" default="compile">
 
   <!-- Define sensible defaults for app-server properties -->
-  <property file="${ant.file.app-server-ant}/../app-server.properties"/>
-  
+   <property file="${ant.file.app-server-ant}/../${javaee.server.type}-app-server.properties"/>
+   
   <!-- This file contains common ant commands that are specific to Java EE
      SDK. To port this application to a different app-server, you will 
      need to write an equivalent file. 
@@ -54,14 +54,14 @@
   </target>
 
   <!-- Construct Java EE classpath -->
-  <path id="javaee.classpath">
-    <pathelement location="${javaee.home}/lib/javaee.jar"/>
-    <pathelement location="${javaee.home}/lib/jsf-api.jar"/>
-    <pathelement location="${javaee.home}/lib/jsf-impl.jar"/>
-    <pathelement location="${javaee.home}/lib/appserv-jstl.jar"/>
-    <pathelement location="${javaee.home}/lib/commons-logging.jar"/>
-    <pathelement location="${javaee.home}/bin"/>
-  </path>
+    <path id="javaee.classpath">
+        <fileset dir="${javaee.lib.dir}">
+            <include name="*.jar"/>
+        </fileset>
+         <pathelement location="${javaee.home}/bin"/>
+    </path>
+    
+   
 
   <!-- Construct path to be used for Java DB -->
   <path id="db.classpath">



Mime
View raw message