> -----Original Message-----
> From: Pierre Henry [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 12, 2002 6:08 AM
> To: Jetspeed Users List
> Subject: RE: BlueSunrise Tutorial - File Merging
>
>
> I think i wa right :
> I solved the thing by changing the war task as follows :
>
> <exec dir="./bin" executable="jar">
>   <arg line="-uf ../dist/jportal.war ."/>
> </exec>
>
> > -----Original Message-----
> > From: Pierre Henry
> > Sent: jeudi, 12. d�cembre 2002 14:50
> > To: Jetspeed User List (E-mail)
> > Subject: BlueSunrise Tutorial - File Merging
> >
> >
> > Hi.
> > I am trying to deploy the jportal application after I changed
> > the prop files
> > in the first part of the tutorial, but there is a problem with the
> > properties merging.
> >
> > I use the deploy task. The file merging occurs, but the
> > merged files are
> > then in the directory /bin/WEB-INF/conf/*.properties in the
> > war file, and so
> > then expand to jportal/bin/WEB-INF/conf/ and the files
> > jportal/WEB-INF/conf/*.props are the unmerged master files
> > fro jetspeed.
> >
> > I think the problem comes from the war file generation :
> >
> > <exec dir="." executable="jar">
> >   <arg line="-uf dist/jportal.war ./bin"/>
> > </exec>
> >
This has been a thorn in my foot. Ant 1.5 cannot update jar files (with the
<jar> task). Its a lousy bug introduced in 1.5.
Worked fine in Ant 1.4.
They also changed the keyword from jarfile to distfile, which doesn't make
sense when you think about how many ant builds will break if people fail to
read the readme file.
Instead of using the ant task, I'm now exec'ing the jar out of desperation.
Please do not send me any advice or patches. I am so sick of this bug, I
just don't want to waste another second on it.

I tried your change to the exec, and it does not work for me, so Im leaving
the exec as is for now.
Never ending. Its almost comical now.


David Sean Taylor
Bluesunrise.com
[EMAIL PROTECTED]
+01 (707) 773 4646



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

Reply via email to