You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nicolas De Loof <ni...@cgey.com> on 2003/11/10 14:27:43 UTC
maven war doesn't copy properties (!?)
Hi all,
I get troubles using war goal on some developer's PC:
The project.xml defines some ressources to include :
...
<resources>
<resource>
<directory>webapp/WEB-INF/src/java</directory>
<includes>
<include>**/*.xml</include>
<include>**/*.properties</include>
</includes>
</resource>
</resources>
</build>
</project>
On lot of developpement PC, "maven war" works fine and generate the WEB-INF/classes with ressources,
On some PC, that doesn't seem to have specific settings, ressources are not copied in WEB-INF/classes.
We tried reinstall maven and rebuilt local repository, but it doesn't change anything.
Do you have any suggestion ?
Nico.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven war doesn't copy properties (!?)
Posted by Nicolas De Loof <ni...@cgey.com>.
I removed ${home}/.maven and maven install directory, then reinstalled maven 1.0 RC1.
I installed maven 1.0-beta10 and it works fine with this "old" version.
I noticed the PC having troubles is using windows NT4, other developpers using Windows 2000.
Nico.
----- Original Message -----
From: <di...@multitask.com.au>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Monday, November 10, 2003 4:51 PM
Subject: Re: maven war doesn't copy properties (!?)
> Did you clean out the local plugin cache/unpacked directory?
> --
> dIon Gillard, Multitask Consulting
> Blog: http://blogs.codehaus.org/people/dion/
> Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc
>
>
> "Nicolas De Loof" <ni...@cgey.com> wrote on 11/11/2003 02:20:06
> AM:
>
> > Webapp has java sources (200 classes)
> >
> > On the majority of developper's PC maven builds a correct war
> > without any problem.
> >
> > I don't know what to look for that could change this behaviour on SOME
> PC.
> >
> > We tried maven clean before rebuild, reinstall maven (1.0 RC1),
> > rebuild local repository. Nothing changed.
> >
> > Nico.
> >
> >
> > ----- Original Message -----
> > From: <di...@multitask.com.au>
> > To: "Maven Users List" <us...@maven.apache.org>
> > Sent: Monday, November 10, 2003 3:14 PM
> > Subject: Re: maven war doesn't copy properties (!?)
> >
> >
> > > Is it that the webapp doesn't have java source?
> > >
> > > Until recently, if the webapp didn't have java source, the resources
> > > weren't copied.
> > > --
> > > dIon Gillard, Multitask Consulting
> > > Blog: http://blogs.codehaus.org/people/dion/
> > > Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc
> > >
> > >
> > > "Nicolas De Loof" <ni...@cgey.com> wrote on 11/11/2003
> 12:27:43
> > > AM:
> > >
> > > > Hi all,
> > > >
> > > > I get troubles using war goal on some developer's PC:
> > > >
> > > > The project.xml defines some ressources to include :
> > > >
> > > > ...
> > > >
> > > > <resources>
> > > > <resource>
> > > > <directory>webapp/WEB-INF/src/java</directory>
> > > > <includes>
> > > > <include>**/*.xml</include>
> > > > <include>**/*.properties</include>
> > > > </includes>
> > > > </resource>
> > > > </resources>
> > > >
> > > > </build>
> > > > </project>
> > > >
> > > >
> > > > On lot of developpement PC, "maven war" works fine and generate the
> > > > WEB-INF/classes with ressources,
> > > >
> > > > On some PC, that doesn't seem to have specific settings, ressources
> > > > are not copied in WEB-INF/classes.
> > > >
> > > > We tried reinstall maven and rebuilt local repository, but it
> > > > doesn't change anything.
> > > >
> > > > Do you have any suggestion ?
> > > >
> > > > Nico.
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven war doesn't copy properties (!?)
Posted by di...@multitask.com.au.
Did you clean out the local plugin cache/unpacked directory?
--
dIon Gillard, Multitask Consulting
Blog: http://blogs.codehaus.org/people/dion/
Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc
"Nicolas De Loof" <ni...@cgey.com> wrote on 11/11/2003 02:20:06
AM:
> Webapp has java sources (200 classes)
>
> On the majority of developper's PC maven builds a correct war
> without any problem.
>
> I don't know what to look for that could change this behaviour on SOME
PC.
>
> We tried maven clean before rebuild, reinstall maven (1.0 RC1),
> rebuild local repository. Nothing changed.
>
> Nico.
>
>
> ----- Original Message -----
> From: <di...@multitask.com.au>
> To: "Maven Users List" <us...@maven.apache.org>
> Sent: Monday, November 10, 2003 3:14 PM
> Subject: Re: maven war doesn't copy properties (!?)
>
>
> > Is it that the webapp doesn't have java source?
> >
> > Until recently, if the webapp didn't have java source, the resources
> > weren't copied.
> > --
> > dIon Gillard, Multitask Consulting
> > Blog: http://blogs.codehaus.org/people/dion/
> > Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc
> >
> >
> > "Nicolas De Loof" <ni...@cgey.com> wrote on 11/11/2003
12:27:43
> > AM:
> >
> > > Hi all,
> > >
> > > I get troubles using war goal on some developer's PC:
> > >
> > > The project.xml defines some ressources to include :
> > >
> > > ...
> > >
> > > <resources>
> > > <resource>
> > > <directory>webapp/WEB-INF/src/java</directory>
> > > <includes>
> > > <include>**/*.xml</include>
> > > <include>**/*.properties</include>
> > > </includes>
> > > </resource>
> > > </resources>
> > >
> > > </build>
> > > </project>
> > >
> > >
> > > On lot of developpement PC, "maven war" works fine and generate the
> > > WEB-INF/classes with ressources,
> > >
> > > On some PC, that doesn't seem to have specific settings, ressources
> > > are not copied in WEB-INF/classes.
> > >
> > > We tried reinstall maven and rebuilt local repository, but it
> > > doesn't change anything.
> > >
> > > Do you have any suggestion ?
> > >
> > > Nico.
> > >
> > >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven war doesn't copy properties (!?)
Posted by Nicolas De Loof <ni...@cgey.com>.
Webapp has java sources (200 classes)
On the majority of developper's PC maven builds a correct war without any problem.
I don't know what to look for that could change this behaviour on SOME PC.
We tried maven clean before rebuild, reinstall maven (1.0 RC1), rebuild local repository. Nothing changed.
Nico.
----- Original Message -----
From: <di...@multitask.com.au>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Monday, November 10, 2003 3:14 PM
Subject: Re: maven war doesn't copy properties (!?)
> Is it that the webapp doesn't have java source?
>
> Until recently, if the webapp didn't have java source, the resources
> weren't copied.
> --
> dIon Gillard, Multitask Consulting
> Blog: http://blogs.codehaus.org/people/dion/
> Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc
>
>
> "Nicolas De Loof" <ni...@cgey.com> wrote on 11/11/2003 12:27:43
> AM:
>
> > Hi all,
> >
> > I get troubles using war goal on some developer's PC:
> >
> > The project.xml defines some ressources to include :
> >
> > ...
> >
> > <resources>
> > <resource>
> > <directory>webapp/WEB-INF/src/java</directory>
> > <includes>
> > <include>**/*.xml</include>
> > <include>**/*.properties</include>
> > </includes>
> > </resource>
> > </resources>
> >
> > </build>
> > </project>
> >
> >
> > On lot of developpement PC, "maven war" works fine and generate the
> > WEB-INF/classes with ressources,
> >
> > On some PC, that doesn't seem to have specific settings, ressources
> > are not copied in WEB-INF/classes.
> >
> > We tried reinstall maven and rebuilt local repository, but it
> > doesn't change anything.
> >
> > Do you have any suggestion ?
> >
> > Nico.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven war doesn't copy properties (!?)
Posted by di...@multitask.com.au.
Is it that the webapp doesn't have java source?
Until recently, if the webapp didn't have java source, the resources
weren't copied.
--
dIon Gillard, Multitask Consulting
Blog: http://blogs.codehaus.org/people/dion/
Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc
"Nicolas De Loof" <ni...@cgey.com> wrote on 11/11/2003 12:27:43
AM:
> Hi all,
>
> I get troubles using war goal on some developer's PC:
>
> The project.xml defines some ressources to include :
>
> ...
>
> <resources>
> <resource>
> <directory>webapp/WEB-INF/src/java</directory>
> <includes>
> <include>**/*.xml</include>
> <include>**/*.properties</include>
> </includes>
> </resource>
> </resources>
>
> </build>
> </project>
>
>
> On lot of developpement PC, "maven war" works fine and generate the
> WEB-INF/classes with ressources,
>
> On some PC, that doesn't seem to have specific settings, ressources
> are not copied in WEB-INF/classes.
>
> We tried reinstall maven and rebuilt local repository, but it
> doesn't change anything.
>
> Do you have any suggestion ?
>
> Nico.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org