multiproject sample maven.xml ?

2003-09-23 Thread jake stone
I'm new to Maven and my first task is to implement a multiproject environment. Could someone possibly post a sample maven.xml that implements the multiproject plugin ? It would be a nice thing to have in an FAQ sometime as well. Also, I am curious as to why Maven requires a plugin for what see

RE: adding a path to maven.compile.src.set

2003-09-23 Thread Brett Porter
Checkout the antlr plugin. > -Original Message- > From: Steve Garcia [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 24 September 2003 11:59 AM > To: 'Maven Users List' > Subject: RE: adding a path to maven.compile.src.set > > > I don't see why not. My "maven:addPath" declarations are >

RE: adding a path to maven.compile.src.set

2003-09-23 Thread Steve Garcia
I don't see why not. My "maven:addPath" declarations are outside of the goal tag so all goals see the changes (although this may not be what you are looking for.) -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 6:59 PM To: Maven Users Lis

RE: how do I see my Java exceptions? -e and -X don't help

2003-09-23 Thread Brett Porter
> I'll look up makeRelativePath in case there is also a > "doExactlyWhatJohnIsTryingToAchieve" tag in there as well. > You never know > your luck... > That tag is slated for Maven 2010, just after the "java:write-all-my-code-for-me" goal :)

Re: adding a path to maven.compile.src.set

2003-09-23 Thread Nathan Coast
can this be used within a plugin? Brett Porter wrote: There is a question in the FAQ about this... Have you had a look there yet? Cheers, Brett -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Wednesday, 24 September 2003 11:27 AM To: maven users S

Re: how do I see my Java exceptions? -e and -X don't help

2003-09-23 Thread John Farrell
On Wed, 24 Sep 2003 11:45 am, Brett Porter wrote: > Doco for which is hidden well in the "project reports" section of the > navigation :) > > http://maven.apache.org/tags.html#maven:makeRelativePath Thanks Brett. Silly naive me thought it would be under Reference. John --

Re: adding a path to maven.compile.src.set

2003-09-23 Thread Nathan Coast
apologies, me being lazy. this is exactly what I need. Brett Porter wrote: There is a question in the FAQ about this... Have you had a look there yet? Cheers, Brett -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Wednesday, 24 September 2003 11:27 AM To: maven us

Re: how do I see my Java exceptions? -e and -X don't help

2003-09-23 Thread John Farrell
On Wed, 24 Sep 2003 11:35 am, [EMAIL PROTECTED] wrote: > Why not just use the maven makeRelativePath tag? Hmm, firstly because I didn't know it existed, secondly because I am actually trying to do something more complicated, and thirdly because I really want to grok how this Jelly coding works.

RE: how do I see my Java exceptions? -e and -X don't help

2003-09-23 Thread Brett Porter
Doco for which is hidden well in the "project reports" section of the navigation :) http://maven.apache.org/tags.html#maven:makeRelativePath > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 24 September 2003 11:35 AM > To: Maven Users List > Sub

RE: adding a path to maven.compile.src.set

2003-09-23 Thread Brett Porter
There is a question in the FAQ about this... Have you had a look there yet? Cheers, Brett > -Original Message- > From: Nathan Coast [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 24 September 2003 11:27 AM > To: maven users > Subject: adding a path to maven.compile.src.set > > > Hi, > >

Re: how do I see my Java exceptions? -e and -X don't help

2003-09-23 Thread John Farrell
On Wed, 24 Sep 2003 11:30 am, Nathan Coast wrote: > try having a look in the maven.log in your project root. > > My understanding is that there's some sort of error occurring in > > the execution of the Java in the Jelly, but I can't guess what, and -e > > and -X don't tell me anything useful. Is

Re: adding a path to maven.compile.src.set

2003-09-23 Thread Nathan Coast
yep, I found the title "multiple source paths" confusing at this time of day. doh. cheers Steve Garcia wrote: I just asked this two messages ago... You can use "maven:addPath" to do your work. Check out the MavenWiki website (linked from maven.apache.org) -Original Message- From: Nath

Re: how do I see my Java exceptions? -e and -X don't help

2003-09-23 Thread dion
Why not just use the maven makeRelativePath tag? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ John Farrell <[EMAIL PROTECTED]> wrote on 24/09/2003 11:25:20 AM: > I am writing Jelly code like this: > > > > >

RE: adding a path to maven.compile.src.set

2003-09-23 Thread Steve Garcia
I just asked this two messages ago... You can use "maven:addPath" to do your work. Check out the MavenWiki website (linked from maven.apache.org) -Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 6:27 PM To: maven users Subject: adding a p

Re: how do I see my Java exceptions? -e and -X don't help

2003-09-23 Thread Nathan Coast
try having a look in the maven.log in your project root. John Farrell wrote: I am writing Jelly code like this: File is ${file} Relative is

adding a path to maven.compile.src.set

2003-09-23 Thread Nathan Coast
Hi, Is there any way to add a path to the maven.compile.src.set? I have sources that are used to generate other sources (using ejbgen - like xdoclet). At the moment I'm generating the sources into the same place as the original source and then compiling. I'd like to keep my generated sources

how do I see my Java exceptions? -e and -X don't help

2003-09-23 Thread John Farrell
I am writing Jelly code like this: File is ${file} Relative is ${relative} Now when I add the "+1" in, relative is "", but withou

RE: Multiple Source Paths

2003-09-23 Thread Steve Garcia
Yup, I feared that almost all of Maven's plugins rely on a single source directory. I guess another solution is to move all of the source to a single temp directory before any plugins are executed. Are there any suggestions or enhancement requests to require plugins to handle multiple source dire

Re: Multiple Source Paths

2003-09-23 Thread dion
"Steve Garcia" <[EMAIL PROTECTED]> wrote on 24/09/2003 08:12:32 AM: > I am "mavenizing" my application we use at work. > > I believe I've made a good attempt to solve my problem by reading through > the Maven archives and and the MavenWiki site. But I still encountering > problems. > > My appl

Multiple Source Paths

2003-09-23 Thread Steve Garcia
I am "mavenizing" my application we use at work. I believe I've made a good attempt to solve my problem by reading through the Maven archives and and the MavenWiki site. But I still encountering problems. My application at work has several source directories, both for our application source and

Re: access violation when executing multiproject:site on win XP machine

2003-09-23 Thread Anthony Vito
Hi, Like it says, it's a VM error, not really a Maven issue. Try upgrading to Java version 1.4.1_03 or whatever the latest and greatest is for 1.4.1. If that doesn't fix it, try to isolate the javadoc command which is causing the error, and then submit a bug report to Sun. -Anthony Vito On Tue,

access violation when executing multiproject:site on win XP machine

2003-09-23 Thread Stefan Hedtfeld
Hi, I have a problem executing the multiproject:site goal. Since more than ten days I tried it, always taking a fresh snapshot from CVS, but I always get the same result (see snipplet below). As you can see from the error message I am using jdk 1.4.2_01, I use a XP machine with the latest ava

Re: My Scripts Are Your Scripts

2003-09-23 Thread Anthony Vito
I have cut out my one page of documentation on these helper scripts and placed it here http://www.cs.oswego.edu/~vito/commandLineTools.html It reads pretty easy. Let me know what you think. -Anthony Vito > snip all - To unsubs

Re: Jar Manifest Class-Path

2003-09-23 Thread Joachim Bader
On Tuesday 23 September 2003 20:36, Dave Ford wrote: > Is there any way to have Maven add the classpath to the jar file manifest > based on my dependency list? For example: > > Class-Path: ejb.jar jndi.jar jdbc.jar jta.jar jaxp.jar crimson.jar MAVEN-802 add this function. It's not comited yet. Pat

Jar Manifest Class-Path

2003-09-23 Thread Dave Ford
Is there any way to have Maven add the classpath to the jar file manifest based on my dependency list? For example: Class-Path: ejb.jar jndi.jar jdbc.jar jta.jar jaxp.jar crimson.jar Thanks Dave Ford Smart Soft - The Developer Training Company http://www.smart-soft.com ---

hooks

2003-09-23 Thread Mark Proctor
Whats the best way to create "hooks". By this I mean something on the lines of a taglib having a dummy which is called when something happens. A user in an another taglib can have their called when that dummy is called. Better yet would there be a way to stack this - maybe add the to an

My Scripts Are Your Scripts

2003-09-23 Thread Anthony Vito
Hello List, I've been following the list for a while now. I love using Maven at the command line. However, I found myself jumping all over and having all sorts of terminals open and it was slowing me down too much. So I wrote some shell functions and scripts ( as I imagine many others have too )

RE: Jar which includes other

2003-09-23 Thread Christian Goos
I havn't tried but I think the ueberjar plugin does that kind of packaging -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 3:26 PM To: Maven Users List Subject: Jar which includes other I don't know if it is possible : I have some s

RE: JUnit taskdef

2003-09-23 Thread GONNOT boris
thanks -Message d'origine- De : Nathan Coast [mailto:[EMAIL PROTECTED] Envoyé : mardi 23 septembre 2003 16:49 À : Maven Users List Objet : Re: JUnit taskdef latest cvs checkout GONNOT boris wrote: > Please, can you tell me what version of maven are you using ? > > > -Message d'ori

RE: maven on win32 -> doesn`t work

2003-09-23 Thread Christian Goos
As far as I know you have to run the goals you want to use offline once with a connection to the internet to download the dependencies. >From that on you can work offline. Christian -Original Message- From: Peter Veentjer [mailto:[EMAIL PROTECTED] Sent: Sunday, August 10, 2003 4:50 PM To

Re: maven on win32 -> doesn`t work

2003-09-23 Thread Peter Veentjer
Andy Jefferson wrote: Hi Is there a way I can retrieve everything I need for maven so I can work at home, and not discover I miss something? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: JUnit taskdef

2003-09-23 Thread Nathan Coast
latest cvs checkout GONNOT boris wrote: Please, can you tell me what version of maven are you using ? -Message d'origine- De : Nathan Coast [mailto:[EMAIL PROTECTED] Envoyé : mardi 23 septembre 2003 08:44 À : Maven Users List Objet : Re: JUnit taskdef Your junit jar is not on the "root

Re: maven on win32 -> doesn`t work

2003-09-23 Thread Andy Jefferson
On Sunday 10 Aug 2003 15:40, Peter Veentjer wrote: > I have tried it again at work and this time it works (at least all the > files are retrieved from the internet). I have zipped everthing > (repository) thati is downloaded en I`ll copy it at home. How can I > change the repository directory? You

Re: maven on win32 -> doesn`t work

2003-09-23 Thread Peter Veentjer
Andy Jefferson wrote: Hi, The message at work: Directory XXX.maven.repository doesn`t exist. Try to create it (translation from dutch). You could run maven with a "--debug" flag to get more diagnostics. In the documentation a install_repo.bat is mentioned, but it is not there in the

Re: maven on win32 -> doesn`t work

2003-09-23 Thread dion
Post us your errors. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Peter Veentjer <[EMAIL PROTECTED]> wrote on 11/08/2003 12:19:49 AM: > I`m posting this message again because it looks like I didn`t reply. I > hope someone can help me out so I can use

Re: maven on win32 -> doesn`t work

2003-09-23 Thread Andy Jefferson
Hi, > The message at work: > Directory XXX.maven.repository doesn`t exist. Try to create it > (translation from dutch). You could run maven with a "--debug" flag to get more diagnostics. > In the documentation a install_repo.bat is mentioned, > but it is not there in the bin directory. Ignore

maven on win32 -> doesn`t work

2003-09-23 Thread Peter Veentjer
I`m posting this message again because it looks like I didn`t reply. I hope someone can help me out so I can use maven at home (where I don`t have internet) Andy Jefferson wrote: On Saturday 09 Aug 2003 08:38, Peter Veentjer wrote: I have tried to install maven on my windows xp machi

Re: pom.resources question

2003-09-23 Thread Jason van Zyl
On Mon, 2003-09-22 at 19:34, [EMAIL PROTECTED] wrote: > AFAIK, yes. > > It's the usual, if it's absolute use as is. If it's not, make it absolute > by using basedir. Coolio. > -- > dIon Gillard, Multitask Consulting > Blog: http://blogs.codehaus.org/people/dion/ > > > Jason van Zyl <[EM

Jar which includes other

2003-09-23 Thread Nicolas . CHALUMEAU
I don't know if it is possible : I have some sub project which produce jars. This jars are dependant each other. I want to define an other sub project who include the other projects jars to build one unique jar. Nicolas - To

RE: Code Formatting Plugin ???

2003-09-23 Thread Bateman, Patrick eMEDIA
Thanks for all the Jalopy replies. I have created a Jalopy config file, but get the following IOException when running the goal. I can't find out which file it is complaining about within the Jalopy Jelly script. Any clues will be welcome. Thanks Pat BUILD FAILED File.. file:/export/home/u

Re: Quickly changing the Maven template

2003-09-23 Thread Ceki Gülcü
Thank you very much, Dion. At 08:34 PM 9/21/2003 +1000, [EMAIL PROTECTED] wrote: It's in the documentation. See http://maven.apache.org/reference/plugins/xdoc/faq.html#navigation-images -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Ceki Gülcü <[EMAIL PROT

Re: Ibiblio Jar upload : HOW TO ?

2003-09-23 Thread Andy Jefferson
On Tuesday 23 Sep 2003 10:28, Matthieu RIOU wrote: > I was wondering if you still accept uploading needed jars in the ibiblio > repository and if so if there was a special process to follow. I sent a > mail to ask for jar uploads about one week ago and didn't get any answer, > am I on the wrong mai

Ibiblio Jar upload : HOW TO ?

2003-09-23 Thread Matthieu RIOU
I was wondering if you still accept uploading needed jars in the ibiblio repository and if so if there was a special process to follow. I sent a mail to ask for jar uploads about one week ago and didn't get any answer, am I on the wrong mailing list ? Thanks and cheers, Matthieu. -