RE: Maven and CVS

2003-12-08 Thread hermod . opstvedt
Hi Naahh, adding the "-tag MAVEN-1_0-BRANCH" did not help either Hermod -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 2:51 PM To: Maven Users List Subject: Re: Maven and CVS No. You must use the 1.0 branch, and not the head. Emman

RE: Is it possible to keep unit tests in the same directories as production classes?

2003-12-08 Thread Brett Porter
> On Mon, 2003-12-08 at 23:05, Brett Porter wrote: > > It works just fine. > > It does not work just fine. > ... > Until you have to actually do something useful like run clover. > I probably should have left the big asterisk next to my point that says that it works just fine if you only want to

RE: Is it possible to keep unit tests in the same directories as production classes?

2003-12-08 Thread Jason van Zyl
On Mon, 2003-12-08 at 23:05, Brett Porter wrote: > It works just fine. It does not work just fine. > Set sourceDirecotry = unitTestSourceDirectory, and > appropriate excludes to the tests and jar plugins so they don't get used > inappropriately. Until you have to actually do something useful li

Re: jelly junit javac task classpath, and project dependencies

2003-12-08 Thread dion
Put the classpath in a string, and pass it to the tests. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Bert van Brakel <[EMAIL PROTECTED]> wrote on 08/12/2003 02:27:32 PM: > I'm using the jelly junit tags. I have a file called suite.jelly and a > test

Re: multiproject:site and multiproject:install not playing together

2003-12-08 Thread dion
I believe there is a bug in the reactor loading a set of projects multiple times. This affects multiproject, and at the moment, there is no fix. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ [EMAIL PROTECTED] wrote on 09/12/2003 11:33:41 AM: > > **

RE: Is it possible to keep unit tests in the same directories asproduction classes?

2003-12-08 Thread Tim Chen
Wow.. Now I wish I hadn't offered a fix ;) Chad.. The main thing here (solely speaking from a user POV) is that Maven is trying to enforce a 'standard' way of doing things. Remember "Maven aims to make the developer's life easier by providing a well defined project structure, well defined developme

RE: Is it possible to keep unit tests in the same directories as production classes?

2003-12-08 Thread Brett Porter
It works just fine. Set sourceDirecotry = unitTestSourceDirectory, and appropriate excludes to the tests and jar plugins so they don't get used inappropriately. Then you can tell your team not only can you do that, but by default Maven makes you follow best practices and in setting it up it has hi

Re: Is it possible to keep unit tests in the same directories as production classes?

2003-12-08 Thread Jason van Zyl
On Mon, 2003-12-08 at 22:12, Chad Woolley wrote: > Hi, > > Is there any particular reason for these vehement and draconian > objections? :) Yes, don't mix your concerns. > What are the technical issues caused by this? Trying to teach each test related plugin how to deal with what is a test and

Re: Is it possible to keep unit tests in the same directories as production classes?

2003-12-08 Thread Chad Woolley
Hi, Is there any particular reason for these vehement and draconian objections? :) What are the technical issues caused by this? I can understand how some plugins won't work, but this could be an acceptable price. I can understand that separate source trees is the "right" way, but does is h

Re: Javadoc useexternalfile fails with directory names containing spaces

2003-12-08 Thread enghoe
Dion, I have decided to report the bug to Apache Ant, since I got the same error when I execute the 'javadoc' ant task. Regards, Eng Hoe App Dev-DCS SGX-IT Division DID: (65) 62368963 FAX: (65) 64388840 email: [EMAIL PROTECTED]

multiproject:site and multiproject:install not playing together

2003-12-08 Thread Mike . Melia
** Note: This e-mail is subject to the disclaimer contained at the bottom of this message. ** : I have an empty project with five subprojects. I can suc

creating my own genapp template

2003-12-08 Thread Aaron Anodide
I created my own genapp template. Going through the jelly code I figured out it would look for it in:${user.home}/.maven/template/${template}. So I place it there in .maven directory. My question is: was this the correct usage of Maven? Or, should there have been a way to get the genapp plugin t

Re: No hrefs getting included from navigation.xml

2003-12-08 Thread dion
Chad Woolley <[EMAIL PROTECTED]> wrote on 09/12/2003 10:09:00 AM: > OK, after I blew this away, it worked. I would still consider this a > bug, if maven isn't smart enough to redownload any newer required > dependencies after an upgrade. Oh well... The maven install really should blow away th

Re: No hrefs getting included from navigation.xml

2003-12-08 Thread Chad Woolley
OK, after I blew this away, it worked. I would still consider this a bug, if maven isn't smart enough to redownload any newer required dependencies after an upgrade. Oh well... Thanks again for the help, Chad dion wrote: Chad, where are you expanded plugins and cache kept? By default they're

Re: javascript in xdoc

2003-12-08 Thread David Garnier
Hi, I've have tried to use the and tags, but it broke the site.jsl script (I use 1.0-RC1). Another idea? I would really like to be able include Javascript in my pages. If it is not possible, then is there a way to pass things unmodified? I've tried with CDATA, but the < and > are escaped. Bes

Clover plugin won't recognize my licensed clover jar

2003-12-08 Thread Chad Woolley
Hi, I am trying to use the maven clover plugin. In the properties for the plugin, it says I can specify maven.clover.jar property which "Allows the user to override the Clover jar. This is especially useful as the Clover jars are license-signed for a specific project so you might want to use

Re: Is it possible to keep unit tests in the same directories as production classes?

2003-12-08 Thread Tim Chen
hehe i did offer a disclaimer ;) Jason van Zyl wrote: On Mon, 2003-12-08 at 16:20, Tim Chen wrote: I'm sure that it's not recommened but you can achieve that using a few changes in your project.xml setup. use: **/Test*.java to prevent building ur test classes into your s

Re: Is it possible to keep unit tests in the same directories as production classes?

2003-12-08 Thread Jason van Zyl
On Mon, 2003-12-08 at 16:20, Tim Chen wrote: > I'm sure that it's not recommened but you can achieve that using a few > changes in your project.xml setup. > > use: > > > **/Test*.java > > > to prevent building ur test classes into your src. > then for ur unitTest declarat

Re: Is it possible to keep unit tests in the same directories as production classes?

2003-12-08 Thread Tim Chen
I'm sure that it's not recommened but you can achieve that using a few changes in your project.xml setup. use: **/Test*.java to prevent building ur test classes into your src. then for ur unitTest declaration do something like: **/Test*.java along w

Re: Is it possible to keep unit tests in the same directories as production classes?

2003-12-08 Thread Martin van den Bemt
Don't know if it is possible, but I know that some report plugins will not work correctly if you have them together... Mvgr, Martin On Mon, 2003-12-08 at 22:06, Chad Woolley wrote: > Hello, > > I want to implement maven on an existing project, which has the unit > tests in the same directories

Re: Is it possible to keep unit tests in the same directories as production classes?

2003-12-08 Thread Jason van Zyl
On Mon, 2003-12-08 at 16:06, Chad Woolley wrote: > Hello, > > I want to implement maven on an existing project, which has the unit > tests in the same directories as the classes they test. No, not supported directly and won't be. > Is this supported with maven? I read the test plugin docs, but

Is it possible to keep unit tests in the same directories as production classes?

2003-12-08 Thread Chad Woolley
Hello, I want to implement maven on an existing project, which has the unit tests in the same directories as the classes they test. Is this supported with maven? I read the test plugin docs, but I don't see any properties or any info there... Thanks, Chad -

Uberjar and getPackage

2003-12-08 Thread Jean-Luc Wasmer
Hi, I have a problem when I run a project's uberjar : the method getPackage() (defined in Class) returns null. When I run the project in Eclipse I get the expected behaviour. Here's the output of the line System.out.println(getClass() + " is in package " + getClass().getPackage()); run by Eclip

dist:prepare-src-filesystem and the reactor

2003-12-08 Thread Bateman Pat UK MYT
When using the 'dist:prepare-src-filesystem' goal under the reactor, the build.xml file generated is placed in the master project directory, not the sub project directory. Does anyone know how to get save the file into the base directory of the sub-project. Thanks Pat dist:prepare-src-files

aspectj classpath

2003-12-08 Thread Charles N. Harvey III
Hello. I compile my projects with a few aspects but the compiler always throws a warning: [iajc] couldn't find aspectjrt.jar on classpath, checked: Now, I have aspectj-1.1.1.jar in my classpath. Its in my dependencies in the project.xml. I have tried aspectj-1.1.0 and get the same result. It

Re: Junit with special test cases

2003-12-08 Thread mark . russel
Sorry for being so dense. I go the tests to run in a separate VM but how do I specify a class path for each test that needs one? Mark Russell PNC 412-768-9603 |-+---> | | __matthewHawthor| | | ne | | |

Mysterious, situation based "has no action definition" error

2003-12-08 Thread Lester Ward
I'm having a Maven problem I can't quite figure out. It has eluded all my usual Maven troubleshooting techniques. This is all under beta-10. Setup: A multiproject web application. Because the default multiproject plugin does some things we don't like (and is semi-broken in beta-10 anyway) we defi

Re: Javadoc useexternalfile fails with directory names containing spaces

2003-12-08 Thread dion
It's most definitely a bug. Can you post the issue details in Jira? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ [EMAIL PROTECTED] wrote on 08/12/2003 06:44:38 PM: > My project has a large collection of source files. When I use the > 'useexternalfile

Re: Unable to override a subproject's maven.final.name

2003-12-08 Thread Jefferson K. French
Thanks, Peter. If I set maven.final.name in project.properties, how do I selectively override it? My example left out the conditional logic in an attempt to illustrate my problem, but what I'm trying to do is this: o Developers use jar:install-snapshot to install new snapshots in their local

RE: Plugin avalon:meta

2003-12-08 Thread Eric Pugh
Have you checked that the .java classes do have all the xdoclet tags needed? I would also ask on the avalon list as the developers for the plugin are all over there. eRic > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, December 08, 2003 10:39 AM >

Re: Plugin avalon:meta

2003-12-08 Thread Jason van Zyl
On Mon, 2003-12-08 at 05:38, [EMAIL PROTECTED] wrote: > The avalon:meta plugin fails with the following message: This plugin is not housed by maven itself. I am trying to encourage users of plugins like Torque, and this one too, to use the appropriate resources when asking questions. This is obvio

Re: Maven and CVS

2003-12-08 Thread Emmanuel Venisse
No. You must use the 1.0 branch, and not the head. Emmanuel - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 08, 2003 2:39 PM Subject: Maven and CVS > Hi > > I am trying to get the lastest source for Maven using CVSGrab, but it > just stops

Maven and CVS

2003-12-08 Thread hermod . opstvedt
Hi I am trying to get the lastest source for Maven using CVSGrab, but it just stops without doing anything - Anybody made this work ? cvsgrab -rootUrl http://cvs.apache.org/viewcvs -destDir e:\maven -package maven -proxyHost < -proxyPort <> Hermod * * * * * * * * * * * * * * * * * * * * * * *

Re: Plugin avalon:meta

2003-12-08 Thread Stephen McConnell
[EMAIL PROTECTED] wrote: The avalon:meta plugin fails with the following message: java.lang.IllegalArgumentException: Malformed tag 'avalon.component'. Missing required parameter 'name' In the source code that you are processing is a @avalon.component tag. The above error suggests that th

RE: cvs changelog from a windows server

2003-12-08 Thread Koranda Matthew James
Ahh, now we got it! Thanks to everyone for your resonses! Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 8. desember 2003 12:57 To: [EMAIL PROTECTED] Subject: RE: cvs changelog from a windows server You need the module name as well: scm|cvs|pserver|[EM

RE: cvs changelog from a windows server

2003-12-08 Thread nick.giles
You need the module name as well: scm|cvs|pserver|[EMAIL PROTECTED]|F:\CVSRepository|ExcitingModule Thus, six tokens. Nick > -Original Message- > From: Koranda Matthew James [mailto:[EMAIL PROTECTED] > Sent: 08 December 2003 11:48 > To: 'Maven Users List' > Subject: RE: cvs changelog

RE: cvs changelog from a windows server

2003-12-08 Thread Martin Jaeger
Hi Matt The last token has to be the cvs-module name, like: scm|cvs|pserver|[EMAIL PROTECTED]|D:\my\path|mymodule Bye, Martin On Mon, 8 Dec 2003, Koranda Matthew James wrote: > From: Koranda Matthew James <[EMAIL PROTECTED]> > To: 'Maven Users List' <[EMAIL PROTECTED]> > Subject: RE: cvs change

RE: cvs changelog from a windows server

2003-12-08 Thread Koranda Matthew James
Thanks for the help, I found this info in the manual after your response but I'm still getting the message "repository connection string contains less than six tokens" Any ideas? Matt -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 8. desember 2003 11:53 To: Mave

Re: cvs changelog from a windows server

2003-12-08 Thread Emmanuel Venisse
You must change the scm delimiter : scm|cvs|pserver|[EMAIL PROTECTED]|D:\my\path Emmanuel - Original Message - From: "Koranda Matthew James" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 08, 2003 11:33 AM Subject: cvs changelog from a windows server > I m trying to

RE: cvs changelog from a windows server

2003-12-08 Thread Koranda Matthew James
Tried that toofirst actually! Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 8. desember 2003 11:44 To: [EMAIL PROTECTED] Subject: RE: cvs changelog from a windows server Hi Try this : scm:cvs:pserver:[EMAIL PROTECTED]:D:/my/path Hermod -Origi

RE: cvs changelog from a windows server

2003-12-08 Thread hermod . opstvedt
Hi Try this : scm:cvs:pserver:[EMAIL PROTECTED]:D:/my/path Hermod -Original Message- From: Koranda Matthew James [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 11:33 AM To: '[EMAIL PROTECTED]' Subject: cvs changelog from a windows server I m trying to run "site:generate" and

Plugin avalon:meta

2003-12-08 Thread egglersim
The avalon:meta plugin fails with the following message: C:\pfgui\epoche>maven avalon:meta __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT avalon:meta: [avalon] Writing descriptors using 'xml' format. BUILD

cvs changelog from a windows server

2003-12-08 Thread Koranda Matthew James
I m trying to run "site:generate" and have given a CVS connection to a windows server in my project.xml as follows: scm:cvs:pserver:[EMAIL PROTECTED]:D:\my\path The problem is that the path is being parsed down to "D" for the repository path as it is being parsed on the colons, is there any way t

Javadoc useexternalfile fails with directory names containing spaces

2003-12-08 Thread enghoe
My project has a large collection of source files. When I use the 'useexternalfile' option to build the javadoc, my base directory could not contain any space character. Otherwise, the build will fail. I think this might be a Ant javadoc task problem, because the 'fileset' tag treats the space c

Re: Unable to override a subproject's maven.final.name

2003-12-08 Thread gps
Hi Jeff, On Sun, Dec 07, 2003 at 10:51:14PM -0600, Jefferson K. French wrote: > When I set the value of maven.final.name in a jar:jar preGoal, it has > the correct value there and in the jar:jar postGoal. But for some > reason it contains an earlier value in the jar:jar goal. > > I've put echo ta