I just found out the reason why the dirs/files were not copied:

In my project.props:
# -------------------------------------------------------------------
# C A C T U S  T E S T  P R O P E R T I E S
# -------------------------------------------------------------------
maven.cactus.src.dir=src/rttest
--->> maven.war.src=src/rttest/testapp

I'm not sure how the cactus-stuff came here !?
Anyway changing this to maven.war.src=src/webapp
solved the problem. Running war:webapp copies everything now as desired :-)


Marc



> -----Urspr�ngliche Nachricht-----
> Von: Age Mooy [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 10. Dezember 2002 13:37
> An: 'Turbine Users List'
> Betreff: RE: maven goal to copy templates, images dir-tree
>
>
> Marc,
>
> I'm just a maven user so I don't know the answer to these weird problems
> you have been getting. All I can tell you is that on my system (and
> aparently on other people's systems too) maven runs without problems. I
> really have no idea what might be going wrong on your side.... maybe it
> is time for a question on maven-dev ?
>
> There is one thing that you might try.... have you tried running without
> the torque plugin installed ? I sent a mail to the maven and torque
> lists a week or so ago about the torque plugin having weird side-effects
> on the xdoc goal and any other goal that uses dvsl...dvsl suddenly
> couldn't find it's dvsl files. I never received an answer but it might
> be the same problem... So try removing the torque plugin dir and jar and
> run your webapp goal again.
>
> Other than that, I can't help you. I hope you find out what is going on
> because maven is too cool to miss IMHO.
>
> God luck,
> Age
>
> > -----Original Message-----
> > From: Marc Lustig [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, December 10, 2002 13:23
> > To: Turbine Users List
> > Subject: AW: maven goal to copy templates, images dir-tree
> >
> >
> > Well, I simply created the dirs src\rttest\testapp and
> > war:webapp runs okay. But still, the files (templates-tree
> > etc.) are not copied to target/ !  I'm using now the b7 release build.
> >
> > Regarding the other problem, not finding the stratum lib when
> > running the torque-plugin, it seems to relate to the change
> > from "1.0-b3-dev" to "1.0-b3". So I did the following:
> > putting both jars in my repo/stratum/jars, and in my
> > project.xml I tried both <version>1.0-b3</version> and
> > <version>1.0-b3-dev</version>
> >
> > But in both cases I still I get exactly the same error:
> > strutum-lib is not found.
> >
> > I'm eventually running out of passion with maven...
> > It's a great tool, but I'm wondering how many months I need
> > to study it and related jakarta-tool to get it working. All I
> > need to do is building a turbine-webapp in the most efficient
> > and clean way.
> >
> > Marc
> >
> >
> >
> > > -----Urspr�ngliche Nachricht-----
> > > Von: Marc Lustig [mailto:[EMAIL PROTECTED]]
> > > Gesendet: Dienstag, 10. Dezember 2002 12:48
> > > An: Turbine Users List
> > > Betreff: AW: maven goal to copy templates, images dir-tree
> > >
> > >
> > > Age, I returned to b7 release-build, deployed the torque-plugin and
> > > ran war:webapp. This is the result:
> > >
> > >
> > > war:webapp:
> > >     [echo] Assembling webapp audiotex
> > >
> > > [ERROR] BUILD FAILED
> > > [ERROR] File......
> > > C:\jakarta\maven-1.0-b7\plugins\maven-war-plugin-1.1\plugin.jelly
> > > [ERROR] Element... copy
> > > [ERROR] Line...... 94
> > > [ERROR] Column.... 35
> > > [ERROR] D:\audiotex\src\rttest\testapp not found.
> > >
> > >
> > > What's going on now?
> > > I didn't have this error before.
> > > Anything else that I have to install before running war:webapp?
> > >
> > > Marc
> > >
> > >
> > >
> > > > -----Urspr�ngliche Nachricht-----
> > > > Von: Age Mooy [mailto:[EMAIL PROTECTED]]
> > > > Gesendet: Dienstag, 10. Dezember 2002 11:53
> > > > An: 'Turbine Users List'
> > > > Betreff: RE: maven goal to copy templates, images dir-tree
> > > >
> > > >
> > > >
> > > >
> > > > > It doesn't here. Perhaps it has to do with the pom.id.
> > > > > In my projext.xml I have set "pomVersion" to 3. Is that
> > correct?
> > > > > Element "id" is set to the name of my webapp. Do I need to set
> > > > > this value somewhere else?
> > > >
> > > > The pomVersion should be 3. It was intended to be updated
> > when the
> > > > project.xml schema changed but I don't think it is used anymore.
> > > >
> > > > Your pom.id is also correct. If you pom.id = "marc" then the
> > > > war:webapp goal will create a webapp called "marc" under
> > the target
> > > > directory. That directory contains then everything that
> > was located
> > > > under src/webapp.
> > > >
> > > > The fact that, again, maven is not showing standard behaviour on
> > > > your system convinces me more and more that your maven
> > installations
> > > > are somehow corrupt.... have you tried a completely clean
> > install of
> > > > maven b7 ? It seems you are the only one having these problems...
> > > >
> > > > Age
> > > >
> > > >
> > > > > Marc
> > > > >
> > > > > > -----Urspr�ngliche Nachricht-----
> > > > > > Von: Age Mooy [mailto:[EMAIL PROTECTED]]
> > > > > > Gesendet: Dienstag, 10. Dezember 2002 10:17
> > > > > > An: 'Turbine Users List'
> > > > > > Betreff: RE: maven goal to copy templates, images dir-tree
> > > > > >
> > > > > >
> > > > > >
> > > > > > When I run war:webapp that goal copies anything that was
> > > > > changed under
> > > > > > src/webapp to target/${pom.id} without any problems
> > at all. this
> > > > > > includes templates, images, javascript files, Torque.conf,
> > > > > > web.xml, etc.
> > > > > >
> > > > > > Again, I use maven b7, out of the box.
> > > > > >
> > > > > > Age
> > > > > >
> > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Marc Lustig [mailto:[EMAIL PROTECTED]]
> > > > > > > Sent: Monday, December 09, 2002 23:00
> > > > > > > To: Turbine Users List
> > > > > > > Subject: maven goal to copy templates, images dir-tree
> > > > > > >
> > > > > > >
> > > > > > > Hi,
> > > > > > > I have a question to those of you using maven to
> > build turbine
> > > > > > > webapp. What goal do you use to copy
> > src/webapp/templates/ and
> > > > > > > src/webapp/images/ into target/... ? I tried war:webapp
> > > > > and various
> > > > > > > other goals without success. Is it necessary to specifiy
> > > > > directories
> > > > > > > that should be copied in project.properties or elsewhere?
> > > > > > >
> > > > > > > Regards
> > > > > > > Marc
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > > > > <mailto:[EMAIL PROTECTED]>
> > > > > > > For
> > > > > > > additional commands, e-mail:
> > > > > > > <mailto:[EMAIL PROTECTED]>
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > > > > <mailto:[EMAIL PROTECTED]>
> > > > > > For additional commands, e-mail:
> > > > > > <mailto:[EMAIL PROTECTED]>
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > > <mailto:[EMAIL PROTECTED]>
> > > > > For
> > > > > additional commands, e-mail:
> > > > > <mailto:[EMAIL PROTECTED]>
> > > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > For additional commands, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For
> > additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>


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

Reply via email to