You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by David Crossley <cr...@indexgeo.com.au> on 2003/07/21 07:47:14 UTC

Re: cvs commit: cocoon-2.1/src/targets webapp-build.xml

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

stephan@apache.org 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">

 


Re: cvs commit: cocoon-2.1/src/targets webapp-build.xml

Posted by David Crossley <cr...@indexgeo.com.au>.
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
> 
> stephan@apache.org 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">
> 
>