RE: JUnit taskdef

2003-09-22 Thread GONNOT boris
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" class loader. You need to set thi

Re: JUnit taskdef

2003-09-22 Thread Nathan Coast
Your junit jar is not on the "root" class loader. You need to set this in your dependency/property element. YAY! yep that works, cheers Dion. after all that, all I needed was a single dependency (presumably because the ant deps are always available) junit junit 3.8.1

RE: JUnit taskdef

2003-09-22 Thread GONNOT boris
I had the same kind of problem with the optional ftp task (NoClassDefFoundError). After some investigations, we found that the "ant-optionnal.jar" was loaded with the "root" class loader whereas the external class "junit/framework/TestListener" (for you) is loaded with the "root.maven" class

RE: maven memory increase...

2003-09-22 Thread Christian Goos
I don't know if your last message means that the problem is solved now. In this case just as an info. I had the same error messages last week and it was also because I didn't use the memory parameters correctly. So in case you get an error message "Incompatible initial and maximum heap sizes speci

Re: JUnit taskdef

2003-09-22 Thread dion
Nathan Coast <[EMAIL PROTECTED]> wrote on 23/09/2003 02:12:13 PM: [snip] >at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) >... 15 more > Caused by: java.lang.NoClassDefFoundError: junit/framework/TestListener >at java.lang.Class.getDeclaredConstructors0(Native Method

Re: test errors

2003-09-22 Thread Nathan Coast
ah, ahem, yes, err that'll be where the errors go :) free beer next time you're in Hong Kong. [EMAIL PROTECTED] wrote: What's in the test report file? Are you using maven.junit.usefile ?? Nathan Coast <[EMAIL PROTECTED]> wrote on 23/09/2003 12:55:15 PM: Hi, I'm getting this message whe

Re: JUnit taskdef

2003-09-22 Thread Nathan Coast
D:\dev\op\op\logistics>maven junitejb:test -X __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT [DEBUG] Adding reference: maven.dependency.classpath -> D:\java\apache\maven-cvsbuild\repository\oputil\jars\oputil-1.0

Re: JUnit taskdef

2003-09-22 Thread dion
What are the classloading bits of maven -X ? Worst comes to worst, give us a test plugin we can use to help test it. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Nathan Coast <[EMAIL PROTECTED]> wrote on 23/09/2003 01:04:34 PM: > thanks Dion, getting c

Re: test errors

2003-09-22 Thread dion
What's in the test report file? Are you using maven.junit.usefile ?? Nathan Coast <[EMAIL PROTECTED]> wrote on 23/09/2003 12:55:15 PM: > Hi, > > I'm getting this message when I attempt to execute some tests. How can > I find out what the error is? I've tried -X but no extra info. Are > the

war:init compiles twice...

2003-09-22 Thread matt
Before I raise a bug report, has anyone else had problems with the war goal, or am I doing something wrong? It seems to me that when war:init calls attainGoal for java:compile, followed by test:test, the source gets compiled twice (as test:test has java:compile as a prereq). Is there any way t

Re: test errors

2003-09-22 Thread Nathan Coast
just noticed the 'java.' before the classname. could be the problem, I'll see where that's coming from Nathan Coast wrote: Hi, I'm getting this message when I attempt to execute some tests. How can I find out what the error is? I've tried -X but no extra info. Are there some jvm args I nee

Re: JUnit taskdef

2003-09-22 Thread Nathan Coast
thanks Dion, getting closer but still no cigar dependencies weblogic weblogic 8.1 junit junit 3.8.1 ant ant-optional 1.5.3-1 ant ant 1.5.3-1 this is the jelly script

test errors

2003-09-22 Thread Nathan Coast
Hi, I'm getting this message when I attempt to execute some tests. How can I find out what the error is? I've tried -X but no extra info. Are there some jvm args I need to pass to junit? test:test: [junit] dir attribute ignored if running in the same VM [junit] Running java.com.onepo

Re: JUnit taskdef

2003-09-22 Thread dion
Nathan Coast <[EMAIL PROTECTED]> wrote on 23/09/2003 10:47:49 AM: > > Show us your POM. > [snip] > > > >weblogic >8.1 > > >junit >3.8.1 > > > ant > ant-optional > 1.5.3-1 > > > > [snip] > *

Re: JUnit taskdef

2003-09-22 Thread Nathan Coast
Show us your POM. 3 maven-junitejb-plugin maven-junitejb-plugin 1.0 OnePort 2001 org.apache.maven Java Project Management Tools http://maven.apache.org/ http://nagoya.apache.org/scarab/servlet/scarab/ jakarta.apache.org /www/maven.apache.org

Re: JUnit taskdef

2003-09-22 Thread Nathan Coast
> Show us your POM. 3 maven-junitejb-plugin maven-junitejb-plugin 1.0 OnePort 2001 org.apache.maven Java Project Management Tools http://maven.apache.org/ http://nagoya.apache.org/scarab/servlet/scarab/ jakarta.apache.org /www/maven.apache.

Re: Code Formatting Plugin ???

2003-09-22 Thread Nelson Arapé
See the Jalopy plugin On Monday 22 September 2003 08:27, Bateman, Patrick eMEDIA wrote: > Has anyone out there use a code formatting and if so is there any > integration with Maven?? > > Thanks > > Pat > This email and any files transmitted with it are confidential and intended > solely for the us

Re: pom.resources question

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

Re: pom.resources question

2003-09-22 Thread Jason van Zyl
On Mon, 2003-09-22 at 18:36, [EMAIL PROTECTED] wrote: > These are all fixed in CVS. > > With the next release, the will be relative to the project.xml > file. If ${basedir} is present will it still be honoured? > Are you using CVS HEAD? > -- > dIon Gillard, Multitask Consulting > Blog: ht

Re: pom.resources question

2003-09-22 Thread dion
These are all fixed in CVS. With the next release, the will be relative to the project.xml file. Are you using CVS HEAD? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Laird Nelson <[EMAIL PROTECTED]> wrote on 23/09/2003 03:51:34 AM: > Laird Nelson w

How to turn off XML valdiation using Maven, Jelly ant:xslt task?

2003-09-22 Thread Matt MacDonald
Hi, I have a XML document from our COTS portal tool that contains a DOCTYPE declaration that looks like the following: Notice the URI: 'jar://resources/psdp.dtd' When I try to use the ant:xslt task to apply a stylesheet to this XML document I get the following error: Fatal Error! java.net.M

Re: pom.resources question

2003-09-22 Thread Andy Jefferson
On Monday 22 Sep 2003 18:51, Laird Nelson wrote: > Laird Nelson wrote: > > So I tried to absolutize this path, like this: > > > >${maven.src.dir}/src/java/foo/bar > > ...which didn't work, and then like this: > > > >${pom.sourceDirectory}/foo/bar > > ...which didn't work either. Ideas? > >

Re: pom.resources question

2003-09-22 Thread Laird Nelson
Laird Nelson wrote: So I tried to absolutize this path, like this: ${maven.src.dir}/src/java/foo/bar ...which didn't work, and then like this: ${pom.sourceDirectory}/foo/bar ...which didn't work either. Ideas? I can get it to work with ${basedir}/src/java/foo/bar. Is that the recomm

pom.resources question

2003-09-22 Thread Laird Nelson
I'm trying to figure out the syntax to use in the POM for the element. Specifically, I use maven -f project.xml a lot, and the reference is not being resolved properly. Originally, I had something like this: src/java/foo/bar ... ...but if I run maven -f project.xml from somewhere de

Re: maven xdoclet

2003-09-22 Thread Harri Lehtimaki
Hi Toby, Yes, I noticed that. I guess I should learn to read. I already got a bit further, but now I'm getting: java.lang.NullPointerException Still having fun, anyway - Original Message - From: "Rademacher Tobias" <[EMAIL PROTECTED]> To: "'Maven Users List'" <[EMAIL PROTECTED]> Sent:

AW: maven xdoclet

2003-09-22 Thread Rademacher Tobias
Hi Harri, > I'm just trying to port my project to Maven, and I think I'm > going to love > Maven as soon as get it working. But now I must be missing > somethng because > I get the following error message: > 11:41: No goal [xdoclet:webdoclet] > > What am I doing wrong? I guess you either mis

Re: maven xdoclet

2003-09-22 Thread Harri Lehtimaki
Hi, I'm just trying to port my project to Maven, and I think I'm going to love Maven as soon as get it working. But now I must be missing somethng because I get the following error message: 11:41: No goal [xdoclet:webdoclet] What am I doing wrong? Best regards, Harri P.S. Many thanks to Andy. Y

Re: Code Formatting Plugin ???

2003-09-22 Thread Dominik Dahlem
The Jalopy plugin does that for you. You have to create a jalopy configuration file to format your code. Have a look at http://jalopy.sourceforge.net/ to find information on how to configure jalopy. Jalopy provides a swing configuration wizard which is quite handy. However, there is a little bug w

RE: maven xdoclet

2003-09-22 Thread Darren Hartford
Just putting my two cents - I am using the xdoclet plugin now, and I think it's great. My projects are all built using maven, no ant scripts. Just need to look for the appropiate use of ejbdoclet and webdoclet tags within maven; which is for the most part the same property-value pairs as in ant

Re: JUnit taskdef

2003-09-22 Thread dion
> cheers, > > I've tried adding this to the plugin's project.xml > > > ant-optional > ant > 1.5.3-1 > > > and this to the plugin.jelly > > classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask" > classpath="${plugin.getDependencyPath('ant-optiona

Re: JUnit taskdef

2003-09-22 Thread dion
Show us your POM. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Nathan Coast <[EMAIL PROTECTED]> wrote on 22/09/2003 09:21:40 PM: > Hi, > > I have a plugin that contains a taskdef for the ant JUnit task. I > copied the code from the test plugin but I

Re: Code Formatting Plugin ???

2003-09-22 Thread Tomasz Pik
Bateman, Patrick eMEDIA wrote: Has anyone out there use a code formatting and if so is there any integration with Maven?? Maybe this: http://maven.apache.org/reference/plugins/jalopy/ ? I didn't use it but I know it exists. Regards, Tomek Thanks Pat ---

Code Formatting Plugin ???

2003-09-22 Thread Bateman, Patrick eMEDIA
Has anyone out there use a code formatting and if so is there any integration with Maven?? Thanks Pat This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error plea

Re: maven on win32 -> doesn`t work

2003-09-22 Thread Peter Veentjer
Andy Jefferson wrote: On Saturday 09 Aug 2003 08:38, Peter Veentjer wrote: I have tried to install maven on my windows xp machine, but the beta 8, 9 en 10 all don`t work because all kinds of dependencies could not be solved (antlr and ant eg). Could you please put a good version online so I can

Re: JUnit taskdef

2003-09-22 Thread Nathan Coast
I've tried this too, which also doesn't work ant-optional ant 1.5.3-1 Nathan Coast wrote: cheers, I've tried adding this to the plugin's project.xml ant-optional ant 1.5.3-1 and this to the plugin.jelly but it still doesn't work :(

Re: JUnit taskdef

2003-09-22 Thread Nathan Coast
cheers, I've tried adding this to the plugin's project.xml ant-optional ant 1.5.3-1 and this to the plugin.jelly but it still doesn't work :( Andy Jefferson wrote: On Monday 22 Sep 2003 12:21, Nathan Coast wrote: Hi, I have a plugin that contains a taskdef for

Re: JUnit taskdef

2003-09-22 Thread Andy Jefferson
On Monday 22 Sep 2003 12:21, Nathan Coast wrote: > Hi, > > I have a plugin that contains a taskdef for the ant JUnit task. I > copied the code from the test plugin but I get this error. > > taskdef class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask > cannot be found. > > Any ideas how I'

JUnit taskdef

2003-09-22 Thread Nathan Coast
Hi, I have a plugin that contains a taskdef for the ant JUnit task. I copied the code from the test plugin but I get this error. taskdef class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be found. Any ideas how I'd make the ant optional tasks availabble to my plugin? cheers

Re: maven on win32 -> doesn`t work

2003-09-22 Thread Andy Jefferson
On Saturday 09 Aug 2003 08:38, Peter Veentjer wrote: > I have tried to install maven on my windows xp machine, but the beta 8, > 9 en 10 all don`t work because all kinds of dependencies could not be > solved (antlr and ant eg). Could you please put a good version online so > I can proceed tranformi

AW: maven on win32 -> doesn`t work

2003-09-22 Thread Rademacher Tobias
Hi Peter, > I have tried to install maven on my windows xp machine, but > the beta 8, > 9 en 10 all don`t work because all kinds of dependencies could not be > solved (antlr and ant eg). Could you please put a good > version online so > I can proceed tranforming all my ant projects to maven p

maven on win32 -> doesn`t work

2003-09-22 Thread Peter Veentjer
I have tried to install maven on my windows xp machine, but the beta 8, 9 en 10 all don`t work because all kinds of dependencies could not be solved (antlr and ant eg). Could you please put a good version online so I can proceed tranforming all my ant projects to maven projects? Peter