James Mitchell wrote:

On Wednesday 18 June 2003 23:30, [EMAIL PROTECTED] wrote:


rleland 2003/06/18 20:30:46

Modified: . build.xml
Log:
Roll back changes so that inorder to build struts,
a user must first go to the contrib.struts-legacy
directory and do a seperate build. This was done because
when a recursive build was performed the target was set to the
top, level of struts instead of contrib/struts-legacy/target which
resulted in the struts-legacy.jar file not being created.



This may have absolutely nothing to do with the gump build, and forgive me for mentioning this late, but I am able to build to build the entire distribution by changing only 2 things from the build.properties.sample.
- add the key jdk.version={specify your jdk version}
- change the key from:
../struts-legacy.jar=contrib/struts-legacy/dist/struts-legacy.jar


to:
struts-legacy.jar=contrib/struts-legacy/dist/struts-legacy.jar


Your right, I looked at the gump build and in the previous version I had defined
the jdk.version but not the struts-legacy.jar path ! I'll rollback that version tomorrow,
and change the struts build file to again to do an integrated build, which I like better
which is the reason I made the change in the first place. I am going to let the gump
build attempt to build tonight just to see if I got the definition of building two projects
in a module right. I also have 0 experience with gump.


Thanks,

Rob





After making those changes, "ant dist" works fine.


Sorry, but I'm not schooled in the ways of gump.




Gump now builds struts-legacy as a seperate target.

 Revision  Changes    Path
 1.108     +2 -20     jakarta-struts/build.xml

 Index: build.xml
 ===================================================================
 RCS file: /home/cvs/jakarta-struts/build.xml,v
 retrieving revision 1.107
 retrieving revision 1.108
 diff -u -r1.107 -r1.108
 --- build.xml  11 Jun 2003 18:19:35 -0000      1.107
 +++ build.xml  19 Jun 2003 03:30:46 -0000      1.108
 @@ -395,15 +395,6 @@
      </target>

<!--
- Construct distributable struts legacy support for datasources
--->
- <target name="dist.legacy" >
- <ant antfile="build.xml" dir="contrib/struts-legacy"
- target="dist"/>
- </target>
-
-
-<!--
Build the contrib modules that are packaged with the binary
-->
<target name="dist.contrib" depends="dist.source" if="jstl.jar">
@@ -427,7 +418,7 @@
Construct complete binary distribution
-->
<target name="dist"
- depends="dist.legacy,dist.library,dist.webapps,dist.source,dist.contrib" + depends="dist.library,dist.webapps,dist.source,dist.contrib"
description="Construct binary distribution"/>


  <!--
 @@ -727,20 +718,11 @@
          </copy>

      </target>
 -
 -<!--
 -       Clean struts legacy distribution
 --->
 -    <target name="clean.legacy" >
 -        <ant antfile="build.xml" dir="contrib/struts-legacy"
 -        inheritall="false" target="clean"/>
 -    </target>
 -

  <!--
          Clean up build and distribution directories
  -->
 -    <target name="clean" depends="clean.legacy"
 +    <target name="clean"
       description="Clean build and distribution directories">
          <delete dir="${build.home}"/>
          <delete dir="${dist.home}"/>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to