Stephan Michels wrote:
Oh, yes, I missed that one. If you set the
option

validate.jars=false

no jars.xml file will be generated. So the build
stop at the moment where the buildscript tries to
copy it.

I noticed this yesterday but found that at present the build reports success but doesn't actually finish (at least when doing a fresh build).


Geoff

On 24 Jul 2003, David Crossley wrote:


Hello Stephan, perhaps you missed this query from earlier this week.
I was watching CVS commits and saw one go past that worried me.
--David

David Crossley wrote:

Hi Stephan, would you please explain what you mean by this change.
The jars.xml should be created and copied into the docs area.
If it cannot, then there is something wrong with the build.

Before your change, these both worked for me on Linux:
./build.sh clean; ./build.sh
./build.sh clean; ./build.sh webapp
So i do not see the need for the failonerror=false.

What commands are you using to initiate the build?

--David

[EMAIL PROTECTED] wrote:

stephan 2003/07/18 01:54:59

 Modified:    src/targets webapp-build.xml
 Log:
 Prevent the stop of the build, because you deactivated the
 validate-jars task.

 Revision  Changes    Path
 1.24      +2 -1      cocoon-2.1/src/targets/webapp-build.xml

 Index: webapp-build.xml
 ===================================================================
 RCS file: /home/cvs/cocoon-2.1/src/targets/webapp-build.xml,v
 retrieving revision 1.23
 retrieving revision 1.24
 diff -u -r1.23 -r1.24
 --- webapp-build.xml   6 Jul 2003 23:08:03 -0000       1.23
 +++ webapp-build.xml   18 Jul 2003 08:54:58 -0000      1.24
 @@ -159,7 +159,8 @@
    <target name="webapp" 
depends="prepare-webapp,prepare-webapp-samples,prepare-webapp-docs,prepare-webapp-javadocs,prepare-webapp-idldocs,prepare-webapp-deprecated,prepare-webapp-scratchpad,validate-jars,validate-config,custom-conf"
 description="Builds web application folder">
      <!-- Add some other documents -->
      <copy file="${build.temp}/jars.xml"
 -      tofile="${build.webapp.docs}/xdocs/installing/jars.xml" filtering="off"/>
 +      tofile="${build.webapp.docs}/xdocs/installing/jars.xml"
 +      filtering="off" failonerror="false"/>
    </target>

<target name="war" depends="webapp" description="Builds web application archive">



Reply via email to