How to set classpath ?

2003-10-29 Thread R a n e s
Hi, Am new to Maven. Can any one tell me , How to set classpath to any .jar file ? And how to include subpackages while compiling ? Thanks & Regards, Ranes.

Re: deploy using ftp

2003-10-29 Thread Michael . J . Brown
Hi there, Still no luck? Try using netcomponents rather than commons-net. Commons-net is the replacement for netcomponents, but on futher investigation my setup still has netcomponents rather than commons-net. http://www.savarese.org/oro/index.html Cheers, Mike |+

Re: Maven Hibernate Plugin issues with offline web site.

2003-10-29 Thread Konstantin Shaposhnikov
Right doctype for Hibernate 2.0 mappings is http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd";> Notice "2.0" in url. Then hibernate resolve this entity to dtd file in hibernate.jar. It seems there is a bug in maven hibernate plugin. regards, Konstantin Ben Walding wrote: Rather than po

Réf. : RE: Is it impossible to include a common file with xdoc?

2003-10-29 Thread Nicolas . CHALUMEAU
> > > > %test; > ]> > > > > > > > > > THIS IS THE SUBSECTION CONTENT > > &test; > > > > >

Dependencies of dependencies

2003-10-29 Thread Ewan Harrow
Am I missing something when it comes to declaring dependencies? If a dependency has dependencies I also need to add it to my project's xml, correct? Thats what I'm doing but I was wondering if it could be done by magic so that maven takes care of installing the dependencies in the local repositor

RE: Dependencies of dependencies

2003-10-29 Thread Michal Maczka
> -Original Message- > From: Ewan Harrow [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 29, 2003 11:21 AM > To: Maven Users List > Subject: Dependencies of dependencies > > > Am I missing something when it comes to declaring dependencies? If a > dependency has dependencies I also

RE: Collapsed navigation with plugin

2003-10-29 Thread mertlenn
Hi dIon, As it is, the plugin conforms to the 'reports' specification and actually generates the files in the 'generated-xdocs' section. Since it functions like a report (and is to be included in the 'reports' section of the project.xml just like any of the standard reports), I did not think it

Re: How to set classpath ?

2003-10-29 Thread Martin Skopp
On Wed, 2003-10-29 at 09:27, R a n e s wrote: > Am new to Maven. Welcome. > Can any one tell me , How to set classpath to any .jar file ? > And how to include subpackages while compiling ? Errr, have you read http://maven.apache.org/reference/user-guide.html already? It really is worth reading b

RE: Is it impossible to include a common file with xdoc?

2003-10-29 Thread Siegfried Göschl
Hi Howard, I'm not sure if this helps but I recently had a problem with external XML entities - Maven refused to load them. Using might help Cheers, Siegfried Goeschl On 28 Oct 2003 at 23:48, Chad Woolley wrote: > Howard M. Lewis Ship wrote: > > > > I make use of XML external entities:

Re: Maven not work in Win98 !

2003-10-29 Thread Kyle Adams
I would also recommend installing cygwin--here's the URL: http://www.cygwin.com/ If you're not familiar with the patch command, after installing cygwin (make sure patch gets installed), run "patch --help". Generally, the command goes something like this: c:\> patch maven.bat mavenbat.patch K

HowTo log Maven output for each project within Reactor

2003-10-29 Thread Marcial . Rosales
Hi all, Is there any way that I can set up the reactor plugin to record logs for each project involved in the operation? I have the following reactor goal : All the projects are software projects (compile, jars, test, and so on) a

Replacing properties in files

2003-10-29 Thread Lester Ward
Is there any way to have Maven take a file copy it such that any properties it contains (e.g. ${pom.currentVersion}) are realized? For example, say I have a script in src/scripts that has a header like this: # uploaded.py # Requires: Python 2.2.x # Author: Lester Ward # Version: ${pom.curre

Re: Replacing properties in files

2003-10-29 Thread Jason van Zyl
On Wed, 2003-10-29 at 09:42, Lester Ward wrote: > Is there any way to have Maven take a file copy it such that any properties > it contains (e.g. ${pom.currentVersion}) are realized? For example, say I > have a script in src/scripts that has a header like this: > > # uploaded.py > # Requires: Pyth

RE: Is it impossible to include a common file with xdoc?

2003-10-29 Thread O'Fallon, Paul (MAN-Corporate)
I recently got this to work, with the following changes: (1) I prefaced the filename in the ENTITY with "file:" (i.e. "file:../MavenMasterWeb/xdocs/projectlist.xml"). (2) My experience is that the reference is resolved based on where you invoke maven, not where the enclosing doc is located. Thi

RE: Is it impossible to include a common file with xdoc?

2003-10-29 Thread hlship
The entities are supposed to be resolved relative to the document, not the working directory. There's a Maven bug about this; I'm not sure which versions of Maven are affected, but latest in CVS has the fix. -- [EMAIL PROTECTED] Creator, Tapestry: Java Web Components http://jakarta.apache.org

how do I jar without testing...

2003-10-29 Thread Kelly Sonderegger
Sorry to bother the list with this but I can't seen to find a way to shut off unit testing so I can just jar up a file. I commented out the unitTest directives and it still executed the unit test. thanks, Kelly Sonderegger - To

RE: how do I jar without testing...

2003-10-29 Thread Eric Pugh
-Dmaven.test.skip=true But a dangerous idea :-) > -Original Message- > From: Kelly Sonderegger [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 29, 2003 6:04 PM > To: [EMAIL PROTECTED] > Subject: how do I jar without testing... > > > Sorry to bother the list with this but I can't s

Re: how do I jar without testing...

2003-10-29 Thread Konstantin Shaposhnikov
Try maven -Dmaven.test.skip=true jar:jar Kelly Sonderegger wrote: Sorry to bother the list with this but I can't seen to find a way to shut off unit testing so I can just jar up a file. I commented out the unitTest directives and it still executed the unit test. thanks, Kelly Sonderegger ---

Re: how do I jar without testing...

2003-10-29 Thread __matthewHawthorne
Try adding -Dmaven.test.skip=true to your command line. This info is located at: http://maven.apache.org/reference/plugins/test/properties.html Kelly Sonderegger wrote: Sorry to bother the list with this but I can't seen to find a way to shut off unit testing so I can just jar up a file. I comme

RE: Is it impossible to include a common file with xdoc?

2003-10-29 Thread W. Sean Hennessy
Whatif the XML Catalog Manager would allow for translating SYSTEM and PUBLIC XML document references to local file references and provide for a configurable mechanism by group using rewrite. Hack of an untested example: #CatalogManager.properties # Always use semicolons in this list. #This is th

Re: Maven not work in Win98 !

2003-10-29 Thread dion
We know. It's listed as Maven-942. See http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-942 Do you have a batch file that works? The one that's listed in that bug report doesn't. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Pub Key:http://blogs

RE: Overall preGoal in parent maven.xml?

2003-10-29 Thread Sean Timm
> In the maven.xml in my child projects, whose project.xml > extends a ${basedir}/../project.xml, I have the following lines: > > > > > > This is immediately after the tag, and immediately > before any goals. I'm trying to avoid having a maven.xml file in all of my child projects. I

Variable to get folder of parent?

2003-10-29 Thread Sean Timm
Is there way to get at the folder of the parent project.xml that I'm inheriting from? Thanks! -- Sean T.

RE: Is it impossible to include a common file with xdoc?

2003-10-29 Thread dion
rc1 was fixed as well. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc [EMAIL PROTECTED] wrote on 30/10/2003 03:33:01 AM: > The entities are supposed to be resolved relative to the document, > n

Re: how do I jar without testing...

2003-10-29 Thread dion
You could always try making the unit tests work. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc Konstantin Shaposhnikov <[EMAIL PROTECTED]> wrote on 30/10/2003 04:28:06 AM: > Try > > maven -Dma

Re: HowTo log Maven output for each project within Reactor

2003-10-29 Thread dion
Use the ant record task? See http://ant.apache.org/manual/CoreTasks/recorder.html -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc [EMAIL PROTECTED] wrote on 30/10/2003 12:57:19 AM: > Hi all, >

Re: HowTo log Maven output for each project within Reactor

2003-10-29 Thread Marcial . Rosales
Excellent !!! Thank you very much Marcial [EMAIL PROTECTED] 29/10/2003 18:32 Please respond to "Maven Users List" <[EMAIL PROTECTED]> To "Maven Users List" <[EMAIL PROTECTED]> cc Subject Re: HowTo log Maven output for each project within Reactor Use the ant record task? See

RE: HowTo log Maven output for each project within Reactor

2003-10-29 Thread Alexey Krasnoriadtsev
It's is nice to log to the file, but how can I use ant's Maillogger with maven? Thank you. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 10:30 AM To: Maven Users List Cc: [EMAIL PROTECTED] Subject: Re: HowTo log Maven output for eac

RE: HowTo log Maven output for each project within Reactor

2003-10-29 Thread dion
record start record stop mail (see http://ant.apache.org/manual/CoreTasks/mail.html ) -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc Alexey Krasnoriadtsev <[EMAIL PROTECTED]> wrote on 30/10/2003

RE: HowTo log Maven output for each project within Reactor

2003-10-29 Thread Alexey Krasnoriadtsev
Thank you Dion, I'm not sure I've got your Idea. What I trying to do is to use Maillogger http://ant.apache.org/manual/listeners.html#MailLogger That allows to send different messages to different users based on success of the build. So that from reactor I can start projects, and for each project

Re: Re: how do I jar without testing...why not unit test :) ?

2003-10-29 Thread Kelly Sonderegger
:) well...actually I've been trying to do that for awhile. I run maven test:ui which works, but maven -X test:test fails with an error "Couldn't load ResourceStream for META-INF/services/javax.xml.transform.TransformerFactory" Thanks for the previous feedback on building without unit testing. An

Re: Variable to get folder of parent?

2003-10-29 Thread Jason van Zyl
On Wed, 2003-10-29 at 13:09, Sean Timm wrote: > Is there way to get at the folder of the parent project.xml that I'm > inheriting from? ${pom.parentBasedir()} > Thanks! > > -- Sean T. -- jvz. Jason van Zyl [EMAIL PROTECTED] http://tambora.zenplex.org In short, man creates for himself a new re

"src/java" or "src/main/java" ?

2003-10-29 Thread Per Olesen
Hi, I was wondering what the recommend source dir structure is. The MavenWiki page at http://wiki.codehaus.org/maven/DirectoryLayout says "src/main/java", but the genapp-plugin generates "src/java". ? Per -- Per Olesen @ Nordija A/S - www.nordija.com - main#: +45 70 20 25 10 email: [EMAIL PR

Using Ant's task...

2003-10-29 Thread Brent Hale
Hi, I'm trying to call Maven via Ant's "exec" task but can't get the task to work correctly inside of Maven. Here's the code and debugging output from maven.xml: maven.xml:

preGoal before any goal

2003-10-29 Thread Dominik Roblek
Is it possible define a kind of preGoal action in maven.xml, which would be executed at the beginning before any other goal? Dominik __ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ -

download and install missing plugin

2003-10-29 Thread Dominik Roblek
I would like to download missing plugins from remote reopsitory and install them as part of build process. I think I can do it using Plugin plug-in, but I don't know, how to check, whether installation of plugin is necessary at all. How to check, if plugin is already installed or not? Dominik __

Making a massive earfile...

2003-10-29 Thread James CE Johnson
I'm looking for some advice on the best way to make a single massive ear file for the app I'm building. Currently, my project consists of: - one jar of plain old objects - two jars of EJBs - one war of the webapp bits Each of these four things are subprojects within my larger project. I want to

Re: download and install missing plugin

2003-10-29 Thread Gilles Dodinet
Dominik, i think that you can just declare the plugin in your dependencies list, typing it as 'plugin', and maven will treat it like any 'normal' dependency, downloading and installing only if needed : blah myPlugin x.x plugin -- gd. Dominik Roblek wrote: I would like to download missi

Building a jar of a some of a webapp's classes

2003-10-29 Thread Matt Raible
I am using Maven to build struts-menu (http://sf.net/projects/struts-menu). Since this is a tag library - I want to build the struts-menu.jar from my target/struts-menu/classes directory, but I don't want to include net/sf/navigator/example/* classes. I want the example classes to remain in W

Re: "src/java" or "src/main/java" ?

2003-10-29 Thread Jason van Zyl
On Wed, 2003-10-29 at 15:48, Per Olesen wrote: > Hi, > > I was wondering what the recommend source dir structure is. The MavenWiki page > at http://wiki.codehaus.org/maven/DirectoryLayout says "src/main/java", but > the genapp-plugin generates "src/java". There are a few options floating around

Re: preGoal before any goal

2003-10-29 Thread Jason van Zyl
On Wed, 2003-10-29 at 16:11, Dominik Roblek wrote: > Is it possible define a kind of preGoal action in > maven.xml, which would be executed at the beginning > before any other goal? What's your use case for that? It's not possible, but it's wouldn't be hard to add something like that to werkz I'm

No goal [:register]

2003-10-29 Thread Mark R. Diggory
I keep running into this error ( I currently have not reports in my project.xml ) when I attempt to do a multiproject site generation. Please, thank you for any help. -Mark 1.0-rc1-SNAPSHOT BUILD FAILED Unable to obtain goal [site] -- null:575:48: No goal [:register] Total time: 9 seconds Fini

Re: No goal [:register]

2003-10-29 Thread Mark R. Diggory
Sorry, I had an empty register tag in my project.xml - Nevermind :-( Mark R. Diggory wrote: I keep running into this error ( I currently have not reports in my project.xml ) when I attempt to do a multiproject site generation. Please, thank you for any help. -Mark 1.0-rc1-SNAPSHOT BUILD FAILED

Re: "src/java" or "src/main/java" ?

2003-10-29 Thread Ben Walding
My preference is for src/main/java (but I wrote the wiki page, so I can't really count this is a 2nd vote ;)) The rationale is this: If you have src/java and src/test, then where do you put resources for testing? eg: src/resources, src/test-resources where do you put other items that are requ

Re: No goal [:register]

2003-10-29 Thread dion
Can you show us the element in project.xml? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc "Mark R. Diggory" <[EMAIL PROTECTED]> wrote on 30/10/2003 11:21:15 AM: > I keep running into this er

Re: preGoal before any goal

2003-10-29 Thread dion
Couldn't it just be outside of a goal in maven.xml? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc Jason van Zyl <[EMAIL PROTECTED]> wrote on 30/10/2003 10:29:14 AM: > On Wed, 2003-10-29 at 16:1

Re: "src/java" or "src/main/java" ?

2003-10-29 Thread Peter Donald
On Thu, 30 Oct 2003 01:05 pm, Ben Walding wrote: > My preference is for src/main/java (but I wrote the wiki page, so I > can't really count this is a 2nd vote ;)) It also goes against most existing attention. I can only recall a few projects that go with that pattern while most go with either src

Re: Building a jar of a some of a webapp's classes

2003-10-29 Thread matt
Recommend two subprojects - one for the tag library and one for the example web application, with the web application having a dependency on the tag library. This would make repository management easier, too. Matt Raible wrote: I am using Maven to build struts-menu (http://sf.net/projects/str

Re: preGoal before any goal

2003-10-29 Thread Jason van Zyl
On Wed, 2003-10-29 at 21:20, [EMAIL PROTECTED] wrote: > Couldn't it just be outside of a goal in maven.xml? That is definitely not recommended. Nothing should be used outside of goals because it by passes the main processing mechanism. We should have just disabled anything from working outside goa

Re: How to set classpath ?

2003-10-29 Thread R a n e s
It works now :) . Thanks & Regards, Ranes. - Original Message - From: "Martin Skopp" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, October 29, 2003 3:47 PM Subject: Re: How to set classpath ? > On Wed, 2003-10-29 at 09:27, R a n e s wrote: > > Am new t

Re: "src/java" or "src/main/java" ?

2003-10-29 Thread tchristensen
Olá Per Du kan ændre det i project.xml men det jeg oftest støder på er src/java - med mindre man bryder med princippet om et projekt = et artifact så er der kun et træ af java. Thomas Per Olesen <[EMAIL PROTECTED]> wrote on 29-10-2003 21:48:04: > Hi, > > I was wondering what the recommend so

Re: "src/java" or "src/main/java" ?

2003-10-29 Thread tchristensen
Sorry this should have been something along the lines of... I think the src/java fits the one project = one artifact principle better than src/main/java - besides what else should go beneath src/main/? Freely translated from danish Cheers Thomas [EMAIL PROTECTED] wrote on 30-10-2003 07:04:17: