RE: eclipse plugin

2004-03-15 Thread Arto Pastinen
Hi Toby. Yes they are, but the problem is, that i use eclipse plugin to build eclipse's property files, and there is .classpath file, where maven puts dependecies from project.xml, everything has worked fine, but maven just don't put junit-xxx.jar to .classpath.. Artsi On Tue, 2004-03-16 at 09:3

RE: eclipse plugin

2004-03-15 Thread Rademacher Tobias
Hi Artsi, are your JUnit TestCases in your ${pom.build.unitTestSourceDirectory} defined in project.xml? Hope this helps Toby > -Original Message- > From: Arto Pastinen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 16, 2004 7:55 AM > To: [EMAIL PROTECTED] > Subject: eclipse plugin >

eclipse plugin

2004-03-15 Thread Arto Pastinen
Hi! Does anybody knows why eclipse plugin doesn't add junit to classpath file? Artsi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: What does the XDoclet plugin expects?

2004-03-15 Thread Alwyn Schoeman
I have only come across this when I have only a MDB which doesn't generate any interfaces. If you have a sessionbean and it generates interfaces, it should create the ejbdoclet directory automatically. On Mon, Mar 15, 2004 at 08:30:34PM -, Marco Tedone wrote: > I've defined your same properti

RE: Getting cvs maven without building from scratch?

2004-03-15 Thread Brett Porter
cvs co -r MAVEN-1_0-BRANCH (HEAD shouldn't be broken, but does have some bugs) Cheers, Brett > -Original Message- > From: Alwyn Schoeman [mailto:[EMAIL PROTECTED] > Sent: Monday, 15 March 2004 6:38 PM > To: [EMAIL PROTECTED] > Subject: Getting cvs maven without building from scratch? >

Re: What does the XDoclet plugin expects?

2004-03-15 Thread Konstantin Priblouda
--- Marco Tedone <[EMAIL PROTECTED]> wrote: > I've defined your same properties, defined ejbdoclet > as pregoal and I'm > obtaining the following error: > > srcdir > "D:\Projects\jemos-xmlop-1.0\src\target\xdoclet\ejbdoclet" > does not exist! > > The ejbdoclet goal is looking for a > src/target

Re: What does the XDoclet plugin expects?

2004-03-15 Thread Webb Morris
You should be running maven from the jemos-xmlop-1.0 directory, not the src directory. WM --- Marco Tedone <[EMAIL PROTECTED]> wrote: > I've defined your same properties, defined ejbdoclet as pregoal and I'm > obtaining the following error: > > srcdir > "D:\Projects\jemos-xmlop-1.0\src\target\

RE: What does the XDoclet plugin expects?

2004-03-15 Thread Sonnek, Ryan
See http://wiki.codehaus.org/maven/CreatingEjbApplications for a complete sample. > -Original Message- > From: Marco Tedone [mailto:[EMAIL PROTECTED] > Sent: Monday, March 15, 2004 2:34 PM > To: Maven Users List > Subject: Re: What does the XDoclet plugin expects? > > Could you send me a

Re: What does the XDoclet plugin expects?

2004-03-15 Thread Marco Tedone
Could you send me an example of how you embedded your ant target with Maven? I've got the following Ant script (the problem here is that I would need the classpath that contains XDoclet):

Re: What does the XDoclet plugin expects?

2004-03-15 Thread Marco Tedone
I've defined your same properties, defined ejbdoclet as pregoal and I'm obtaining the following error: srcdir "D:\Projects\jemos-xmlop-1.0\src\target\xdoclet\ejbdoclet" does not exist! The ejbdoclet goal is looking for a src/target/xdoclet/ejbdoclet folder that doesn't exists. Shall I create it?

MAVEN_OPTS

2004-03-15 Thread Michele_Forte
I am using maven rc1 If I set the value of MAVEN_OPTS to something like this SET MAVEN_OPTS="-Djava.ext.dirs=D:\AppClient\lib;D: \AppClient\java\jre\lib\ext -Xmx160m" Than I got the java plugin fails with the current error: BUILD FAILED File.. file:/D:/maven/plugins/maven-java-plugin-1.3

RE: What does the XDoclet plugin expects?

2004-03-15 Thread Sonnek, Ryan
See http://wiki.codehaus.org/maven/CreatingEjbApplications for a decent use case for maven and xdoclet. I would recommend avoiding the xdoclet maven plugin and using good old ant scripts from maven.xml. As previously mentioned, the xdoclet maven plugin is bloated and cryptic to work with. Ryan

Re: What does the XDoclet plugin expects?

2004-03-15 Thread Kevin Hagel
maven can often be considered an Ant wrapper, I've found it much easier to embed "ant" script rather than "maven" script to deal with xdoclet. xdoclet's plugin methods for assigning values is awkward and impenetrable. Look in your repository for the expanded xdoclet plugins, look in the plugin.pr

Re: What does the XDoclet plugin expects?

2004-03-15 Thread Konstantin Priblouda
--- Marco Tedone <[EMAIL PROTECTED]> wrote: > Hi, I'm reading the documentation on the XDoclet > website about the Maven > plugin. However, I don't know what the > "xdoclet:ejbdoclet" goal expects in > the maven.xml file. I've got a folder /src under > which java, webapp, etc. > are stored. When I

What does the XDoclet plugin expects?

2004-03-15 Thread Marco Tedone
Hi, I'm reading the documentation on the XDoclet website about the Maven plugin. However, I don't know what the "xdoclet:ejbdoclet" goal expects in the maven.xml file. I've got a folder /src under which java, webapp, etc. are stored. When I point my cursor to /src and type "maven xdoclet:ejbdoclet"

Properties and subprojects

2004-03-15 Thread Jim Crossley
I know maven doesn't exactly support property inheritance just yet, but I'm wondering whether the following problem will be solved even when that day comes. My project has two war subprojects, an ear subproject, and a common jar subproject. Each war depends on the common jar and some external jar

Re: [jnlp-plugin] Property tag

2004-03-15 Thread Henri Yandell
Sweet. maven.jnlp.properties=com.foo.value com.foo.value=bar So the properties seems to work. Still hacking with the turning offness of signed jars. [email was initially sent after exhausting the online documentation, but now i've a bee in my bonnet and am looking at the jelly code]

Re: [jnlp-plugin] Property tag

2004-03-15 Thread Henri Yandell
I can see: ${maven.jnlp.properties} Though I don't know exactly what format that expects it in. I suspect looking into more would help. Whatever that is. On the signing jar issue. It seems to somehow think th

[jnlp-plugin] Property tag

2004-03-15 Thread Henri Yandell
I want to get system properties into my jnlp file. Anyway to do that with the plugin? ie) I also want to build without signing, at least until I discover that the client actually needs said permissions. How do I turn signing off? Thanks, Hen ---

war plugin variables unaccessible?

2004-03-15 Thread Mauro Botelho
I'm trying to apply some filtering to my web.xml before building the webapp, but it seems that the variables that the war plugin use are not exported. Is this possible? When I add these lines to my maven.xml file: maven war src preGoal: ${maven.war.src} maven s

/ /OREF:CPT8F9CD Re: Include resource required by test

2004-03-15 Thread aribic
Ok now I have got Maven to include my XML and DTD files but it includes the directory structure from my source directory included! so it looks like this: $project/bin/classes/com/.../.../.../ (my source) $project/bin/classes/src/my.xml $project/bin/classes/src/com/.../.../.../my.dtd The xml

Re: pom.depend not working in CVS?

2004-03-15 Thread Tim Chen
Try changing it to: ${basedir}/../../etc/project.xml -Tim [EMAIL PROTECTED] wrote: Hi, I built the latest CVS snapshot and it seems that the ../../etc/project.xml tag is not working right now. I get an Error when I refer to a non-existent file, but there are no goals/properties inherited from t

Re: speed up build time

2004-03-15 Thread Tim Chen
By definition multiprojects are made up of a group of subprojects. You *should* be able to go into each subproject and run a maven build from there as well. The only caveat of this that I know of is that it will pick up everything from the parent's project.xml and maven.xml (assuming you are usi

Re: / /OREF:CPT0DDDD Include resource required by test

2004-03-15 Thread Craig S. Cottingham
On Mon, 2004-03-15 at 08:54, [EMAIL PROTECTED] wrote: > I have a Test class that requires to load a XML file. > I do it like this: > Thread.currentThread().getContextClassLoader > ().getResource(Constants.XML_CONFIG_FILENAME_DEFAULT) > Issue is that my Maven project does not include my xml/dtd file

Re: Plugin configuration and behavior

2004-03-15 Thread Eric Giguere
Hi again Euh, I see... Get the maven-plugins from the apache CVS tree. Either you get the whole project from CVS or, just get the project.xml file that is at the root of the plugins project. This way, you should be able to update it. Or, you could just make your tests in a custom plugin (copy the

/ /OREF:CPT0DDDD Include resource required by test

2004-03-15 Thread aribic
Hi All, I have a Test class that requires to load a XML file. I do it like this: Thread.currentThread().getContextClassLoader ().getResource(Constants.XML_CONFIG_FILENAME_DEFAULT) Issue is that my Maven project does not include my xml/dtd files, so the test fails to load the xml resource. My

Re: Newbie question about Plugin versions

2004-03-15 Thread Nicolas . CHALUMEAU
Copy the new plugin jar (remove the old one) in your $MAVEN_HOME/plugin dir. Remove the ~/.maven/plugin content. Add restart maven. Nicolas, [EMAIL PROTECTED] 15/03/2004 07:56 Veuillez répondre à "Maven Users List" Pour : [EMAIL PROTECTED] cc : Objet : Newbie que

pom.depend not working in CVS?

2004-03-15 Thread pnb
Hi, I built the latest CVS snapshot and it seems that the ../../etc/project.xml tag is not working right now. I get an Error when I refer to a non-existent file, but there are no goals/properties inherited from the ../../etc/maven.xml! Any hints? /peter -

RE: Statcvs

2004-03-15 Thread sg
Hi, sorry i have still problems to generate the cvs stats report and was trying to find a solution the whole weekend. As Marcin suggested i add a fake url as web repository to my pom. How ever i get still the same error. I'm confused since there is a statcvs 1.0 statcvs 2.0 and a statcvs-xml plu

speed up build time

2004-03-15 Thread thorsten maus
hi there .. we are developing an application using the multiproject plugin ... i would be interested in your ways to speed up the build process ... 1. is it possible to execute only parts of a multiproject 2. how do i tell maven not to compile all sources over and over again ??? -- Thorsten Maus

pom.depend not working in CVS?

2004-03-15 Thread pnb
Hi, I built the latest CVS snapshot and it seems that the ../../etc/project.xml tag is not working right now. I get an Error when I refer to a non-existent file, but there are no goals/properties inherited from the ../../etc/maven.xml! Any hints? /peter --

Latex plugin

2004-03-15 Thread Sébastien BRUNOT
Hi, Is somebody using the latex plugin on win32 around here ? I got the MPLATEX-2 bug, and i'd like to know if there's already a workaround for it. Sebastien Brunot --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.614 / Virus Data