You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Vincent Massol <vm...@octo.com> on 2002/12/15 14:20:31 UTC

RE: [PATCH] avoiding documentation build failure

Hi IAS,

You're right. I have looked more closely at the documentation build and
it should not have copied with filtering on the images/. I don't know
why it works (maybe the latest versions of Ant are more permissive with
regards to binary files).

Anyway, I've applied your patch as it seems the right thing to do.

Thanks a lot.
-Vincent

> -----Original Message-----
> From: IAS [mailto:iasandcb@apache-korea.org]
> Sent: 15 December 2002 12:50
> To: 'Vincent Massol'
> Subject: RE: [PATCH] avoiding documentation build failure
> 
> Here's the build result of Cactus documentation that I checked out
today
> from apache CVS on my PC.
> 
> D:\apache\jakarta\cvs\jakarta-cactus\documentation>ant
> Buildfile: build.xml
> 
> display.properties:
>      [echo] ----- Cactus Documentation 1.5dev -----
> 
>      [echo] java.class.path =
> c:\jdk1.3.1_05\lib\tools.jar;d:\apache\jakarta\ant-1.5.1\lib\xml-apis.
>
jar;d:\apache\jakarta\ant-1.5.1\lib\xercesImpl.jar;d:\apache\jakarta\ant
> -1.5.1\lib\xalan.jar;d:\apac
>
he\jakarta\ant-1.5.1\lib\stylebook-1.0-b4_xalan-2.jar;d:\apache\jakarta\
> ant-1.5.1\lib\servlet.jar;d:
>
\apache\jakarta\ant-1.5.1\lib\optional.jar;d:\apache\jakarta\ant-1.5.1\l
> ib\jython.jar;d:\apache\jaka
>
rta\ant-1.5.1\lib\junit.jar;d:\apache\jakarta\ant-1.5.1\lib\js.jar;d:\ap
> ache\jakarta\ant-1.5.1\lib\h
>
ttpunit.jar;d:\apache\jakarta\ant-1.5.1\lib\aspectjtools.jar;d:\apache\j
> akarta\ant-1.5.1\lib\aspectj
>
rt.jar;d:\apache\jakarta\ant-1.5.1\lib\aspectj-ant.jar;d:\apache\jakarta
> \ant-1.5.1\lib\ant.jar;
> 
>      [echo] java.home = c:\jdk1.3.1_05\jre
>      [echo] user.home = C:\Documents and Settings\user
>      [echo] ant.home = d:\apache\jakarta\ant-1.5.1
> 
> check.properties:
> [checkProperty] cvs.executable = [cvs]
> 
> init:
> 
> doc:
>     [mkdir] Created dir:
> D:\apache\jakarta\cvs\jakarta-cactus\documentation\target\xdocs
>     [mkdir] Created dir:
> D:\apache\jakarta\cvs\jakarta-cactus\documentation\target\doc
>     [mkdir] Created dir:
> D:\apache\jakarta\cvs\jakarta-cactus\documentation\target\doc\images
>     [mkdir] Created dir:
> D:\apache\jakarta\cvs\jakarta-cactus\documentation\target\xdocs\cvslog
>      [copy] Copying 1 file to
> D:\apache\jakarta\cvs\jakarta-cactus\documentation\target\xdocs
>      [copy] Copying 92 files to
> D:\apache\jakarta\cvs\jakarta-cactus\documentation\target\xdocs
> 
> BUILD FAILED
> file:D:/apache/jakarta/cvs/jakarta-cactus/documentation/build.xml:187:
> Failed to copy D:\apache\jaka
> rta\cvs\jakarta-cactus\documentation\docs\xdocs\images\remove.jpg to
> D:\apache\jakarta\cvs\jakarta-c
> actus\documentation\target\xdocs\images\remove.jpg due to null
> 
> Total time: 5 seconds
> 
> I saw the page you informed me of, and felt a little strange because
it
> shows a different result from mine. It would be enough to please me
that
> this patch (or might be a hint) be helpful if someone meets a similar
> situation.
> 
> Thanks
> -IAS
> 
> ===========================================================
> Lee, Changshin (Korean name)
> IAS (International name)
>                    Company Web Site: http://www.tmax.co.kr
>                    Personal Web Site: http://www.iasandcb.pe.kr
> -----------------------------------------------------------------
> Senior Researcher & Java Technology Evangelist
> JCP member - http://jcp.org/en/participation/members/L
> R&D Institute
> Tmax Soft, Inc.
> JCP member - http://jcp.org/en/participation/members/T
> ==========================================================
> 
> > -----Original Message-----
> > From: Vincent Massol [mailto:vmassol@octo.com]
> > Sent: Sunday, December 15, 2002 8:41 PM
> > To: 'Cactus Developers List'
> > Cc: iasandcb@apache-korea.org
> > Subject: RE: [PATCH] avoiding documentation build failure
> >
> > Hi IAS,
> >
> > I'm not sure I understand what's wrong with the current build
script.
> As
> > ou can see on
> >
>
http://cvs.apache.org/builds/gump/latest/jakarta-cactus-documentation.ht
> > ml, the doc builds fine.
> >
> > Thanks
> > -Vincent
> >
> > > -----Original Message-----
> > > From: IAS [mailto:iasandcb@apache-korea.org]
> > > Sent: 20 November 2002 15:07
> > > To: 'Cactus Developers List'
> > > Subject: [PATCH] avoiding documentation build failure
> > >
> > > Now documentation/build.xml causes the following error:
> > > BUILD FAILED
> > >
> file:D:/apache/jakarta/cvs/jakarta-cactus/documentation/build.xml:182:
> > > Failed to
> > > copy
> > >
> >
>
D:\apache\jakarta\cvs\jakarta-cactus\documentation\docs\xdocs\images\rem
> > > ov
> > > e.jpg to
> > >
> >
>
D:\apache\jakarta\cvs\jakarta-cactus\documentation\target\xdocs\images\
> > > remove.jpg due to null
> > >
> > > In
> > > <!-- Copy all remaining files -->
> > > <copy todir="${target.xdoc.dir}" filtering="on">
> > >     <fileset dir="${doc.xdoc.dir}">
> > >         <exclude name="book.xml"/>
> > >         <exclude name="original/**"/>
> > >         <exclude name="misc/**"/>
> > >     </fileset>
> > > </copy>
> > > task, add this excude statement:
> > > <exclude name="images/**"/>
> > >
> > > This patch is originally made by Kyutae Park (visavis at
kldp.org),
> > one
> > > of the Korean Cactus translators, and I just delivered it to this
> > > mailing list. I'd like to express gratefulness to him here.
> > >
> > > ===========================================================
> > > Changshin Lee  (Korean name)
> > > IAS (International name)
> > >
> > >                    Company Web Site : http://www.tmax.co.kr
> > >                    Personal Web Site : http://www.iasandcb.pe.kr
> > > -----------------------------------------------------------
> > > Senior Researcher & Java Technology Evangelist
> > > R&D Institute, TmaxSoft
> > > ==========================================================
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:   <mailto:cactus-dev-
> > > unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail: <mailto:cactus-dev-
> > > help@jakarta.apache.org>
> >
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>