Adding a jar dependency to the maven-classpath or to the ant loader classpath

2003-07-16 Thread Olivier Lamy
Hi all, I want to define an ant task as this : In my project.xml, I set : jagtool sybase jagtool.jar root But i see a class not class not found

Re: RE : Getting current date/time?

2003-07-16 Thread dion
There's also a jelly format date tag too. See http://jakarta.apache.org/commons/jelly/libs/fmt/tags.html#fmt:formatDate -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Work: http://www.multitask.com.au Andy Paul <[EMAIL PROTECTED]> wrote on 17/07/200

Re: Need suggestions...

2003-07-16 Thread Jason van Zyl
On Wed, 2003-07-16 at 20:53, did wrote: > I trieds, using b10, to put my tld into src/conf/META-INF/ > > However the tld is not included into the Jar. > > I use in my project.xml the following setup: > > > src/main/java > src/test/java > > > > > src/test/java > **/* > **/*.java > > > >

Re: Need suggestions...

2003-07-16 Thread did
I trieds, using b10, to put my tld into src/conf/META-INF/ However the tld is not included into the Jar. I use in my project.xml the following setup: src/main/java src/test/java src/test/java **/* **/*.java **/*Test.java src/conf *.properties *.tld But got no tld on my jar. Onl

Re: 1.0 beta 10 : Repositories

2003-07-16 Thread Ben Walding
You have to wonder if the shared local repo might be a useful thing to have in addition to personal local repo. personal local -> shared local -> remote repo1 -> remote repo2 Items would only be copied into personal local if they came from remote repo * This is definitely a use case that codeh

Re: 1.0 beta 10 : Repositories

2003-07-16 Thread did
Excellent! Thanks Jason. Everything is more clear now for me. Did. Jason van Zyl wrote: On Wed, 2003-07-16 at 17:42, did wrote: Just a question: I would like to understand what is the motivation to let Maven puts his repository onto ~/.maven ??? This would lead to as many repositories as c

Re: 1.0 beta 10 : Repositories

2003-07-16 Thread Jason van Zyl
On Wed, 2003-07-16 at 17:42, did wrote: > Just a question: > > I would like to understand what is the motivation to let Maven puts his > repository onto ~/.maven ??? > This would lead to as many repositories as connected users... This is no different then it has been in the past but I'll explain

Re: 1.0 beta 10 : Repositories

2003-07-16 Thread Paul Libbrecht
did wrote: Just a question: I would like to understand what is the motivation to let Maven puts his repository onto ~/.maven ??? This would lead to as many repositories as connected users... Regards, Did. I think locking is the problem... running as shared users might have inconsistent behaviou

Re: 1.0 beta 10 : Repositories

2003-07-16 Thread did
Just a question: I would like to understand what is the motivation to let Maven puts his repository onto ~/.maven ??? This would lead to as many repositories as connected users... Regards, Did. Andy Jefferson wrote: On Tue, 2003-07-15 at 22:08, Jason van Zyl wrote: The default value for mave

Re: codehaus.org samples

2003-07-16 Thread Ben Walding
I've fixed this now. It was a permission problem inside the wiki, Cheers, Ben Kumar, Vaidhyanatha K. wrote: I am trying to test the sample webapp mentioned in http://wiki.codehaus.org/maven/CreatingWebApplications maven-war-example-1.0-dev-src.zip

automate versioning

2003-07-16 Thread David Liles
Gang, I've been tasked with developing a build process and want to use Maven for numerous reasons. One of the primary requirements is to devise an automated versioning process that will append an updated version to each of the project jar files as they are generated. Then, when the master bu

Re: RE : Getting current date/time?

2003-07-16 Thread Andy Paul
James, Just in case you're interested or want to do more formatting with the date, I believe this is a Jellified version where you can set up the format... The time according to jelly is ${xx} Regards Andy You can use (which is an ant tag

Re: Fetching a Jar from the maven remote repo using Ant

2003-07-16 Thread Brian Ewins
Yes. Use 'maven ant' to generate your build script. It uses the ant 'get' task to fetch remote files. You might have to edit the build.xml a bit though, try it and see if it works for you; the script doesnt do everything maven can. It only uses the first remote repository for downloads, and doe

Fetching a Jar from the maven remote repo using Ant

2003-07-16 Thread Moretti, Luciano (MED)
Ok, what I'm trying to do is a little odd- I've got some people who will need to build using ant (not Maven) but we require a jar out of the repository. Instead of maintaining multiple copies (which is what we do now with most stuff) I'd like to only have a single copy in the maven repo that is f

Re: Creating a war file that includes an applet

2003-07-16 Thread Brian Ewins
In maven.xml Since the mechanism in b10 is to build the war from the exploded webapp, this should be all you need. In the code above id-goes-here should be the id of your artifact - the same as you would use in the element when specifying the applet jar as a dependency. You almost certa

codehaus.org samples

2003-07-16 Thread Kumar, Vaidhyanatha K.
I am trying to test the sample webapp mentioned in http://wiki.codehaus.org/maven/CreatingWebApplications maven-war-example-1.0-dev-src.zip . When I click on that link I g

Re: own checkstyle

2003-07-16 Thread Siegfried Göschl
I missed that you are using Maven B9 but already the new plugin and I just downloaded Maven B10. Since the checkstyle changed I have to convert the existing coding conventions ... +) Using Maven B10 I defined maven.checkstyle.format = it20one +) This picks up my plugin-resources/it20one_checks.xml

Creating a war file that includes an applet

2003-07-16 Thread Mark McBride
Our project requires that we have an applet in our web application. Following the best practices of maven we decided to place the applet code in a separate cvs module since it is a separate artifact from the war we build in the main project. My question is how does one include the applet into

Re: RE : Getting current date/time?

2003-07-16 Thread James CE Johnson
> You can use (which is an ant tag). It set 2 properties DSTAMP > and TSTAMP with date and time (see ant documentation for more details) > > Ex: > > > Great! That's exactly what I was after and I just couldn't find it. > > > -Message d'origine- > De : James CE Johnson [mailto:[EMAIL

Re: Eclipse & Maven project directory structure dilemma

2003-07-16 Thread Mark H. Wilkinson
On Wed, 2003-07-16 at 07:51, Rafal Krzewski wrote: > Kumar, Vaidhyanatha K. wrote: > > The existing project looks like this > > ProjectA -- project_a.war > > mod1 --mod1.jar > > src/java > > web > > mod2 -- mod2.jar > > src/java > > web > > mod3 > >

Re: own checkstyle

2003-07-16 Thread Kristine Weissbarth
hi, I tried this way but maven does not create any checkstyle report. What do you mean with "define a foo-checkstyle.properties"? What I did was copying my foo-checks.xml (!) into maven/plugins/maven-checkstyle-plugin-1.1/plugin-resource and setting the maven.checkstyle.format = foo. The build do

RE : Getting current date/time?

2003-07-16 Thread Nicolas FRANK
You can use (which is an ant tag). It set 2 properties DSTAMP and TSTAMP with date and time (see ant documentation for more details) Ex: -Message d'origine- De : James CE Johnson [mailto:[EMAIL PROTECTED] Envoyé : mercredi 16 juillet 2003 16:27 À : [EMAIL PROTECTED] Objet : Gettin

Getting current date/time?

2003-07-16 Thread James CE Johnson
Hey all, Is there any way for my maven.xml to fetch the current date/time so that I can subsequently write (using

Re: Resources not going into proper directory in jar file.

2003-07-16 Thread Jason van Zyl
On Wed, 2003-07-16 at 09:31, Ben Walding wrote: > You want: > > >src > >package/images/**/*.gif > > > > > No idea of whether that target path thing works or not, but it isn't > required. target path works as it's used by Maven itself to pac

Re: Resources not going into proper directory in jar file.

2003-07-16 Thread Ben Walding
You want: src package/images/**/*.gif No idea of whether that target path thing works or not, but it isn't required. Erik Husby wrote: I am a new user of Maven and most likely are simply missing something. I have this existing project structure

Re: own checkstyle

2003-07-16 Thread Nicolas . CHALUMEAU
I try too to migrate from the 1.X to the 2.X checkstyle pluggin. I use the sample xml file. I define the maven.checkstyle.properties with my xml location. Then - first you must define the DTD so I use this : But I still have problem : when i try maven checkstyle:report the

Resources not going into proper directory in jar file.

2003-07-16 Thread Erik Husby
I am a new user of Maven and most likely are simply missing something. I have this existing project structure src/package/images/group1/*.gif src/package/images/group2/*.gif src/package/*.java I want the contents of src/package/images to end up in the jar file under "package/images/grou

Re: own checkstyle

2003-07-16 Thread Juergen Heidak
Check http://maven.apache.org/reference/plugins/checkstyle/properties.html for the description of all available properties. Regards Am Mittwoch, 16. Juli 2003 13:33 schrieb Kristine Weissbarth: > hi, > > how can I integrate my own checkstyle.xml to be checked during the > checkstyle report. Wha

Re: 1.0 beta 10 : Repositories

2003-07-16 Thread Jason van Zyl
On Wed, 2003-07-16 at 02:37, Andy Jefferson wrote: > Thanks Jason, > > I've set ~/build.properties and it finds the shared repository and > downloads into that. The next problem I have is that I have 2 > dependencies > > > xdoclet > xdoclet-ejb-module > 1.2b4 > http://xdoclet.so

Re: own checkstyle

2003-07-16 Thread Rafal Krzewski
Kristine Weissbarth wrote: > hi, > > how can I integrate my own checkstyle.xml to be checked during the > checkstyle report. What do I have to do with my checks_project.xml? > I found out that the standart checks are situated in > maven-1.0-beta-9/plugins/maven-checkstyle-plugin-2.0-SNAPSHOT.jar

own checkstyle

2003-07-16 Thread Kristine Weissbarth
hi, how can I integrate my own checkstyle.xml to be checked during the checkstyle report. What do I have to do with my checks_project.xml? I found out that the standart checks are situated in maven-1.0-beta-9/plugins/maven-checkstyle-plugin-2.0-SNAPSHOT.jar but how can I intergate my own check?

RE : deploy:copy-deps

2003-07-16 Thread BRUNOT Sébastien
It doesn't work :-( -Message d'origine- De : GONNOT boris [mailto:[EMAIL PROTECTED] Envoyé : mercredi 16 juillet 2003 11:59 À : Maven Users List Objet : RE: deploy:copy-deps I think it's "drutt:DRUTT_ddr" But i'm not sure :) -Message d'origine- De : BRUNOT Sébastien [mailto:[

Re: Reactor Examples

2003-07-16 Thread Siegfried Göschl
BTW there is "Powered By" link ... :-) Siegfried Goeschl On 16 Jul 2003 at 0:23, Paul Libbrecht wrote: > How about a page like "Maven in use" ? > I think it would help an amount of people... > > Paul > > > Luke Taylor wrote: > > Bryce Fischer wrote: > > > >> I know this is a lame questions..

RE: deploy:copy-deps

2003-07-16 Thread GONNOT boris
I think it's "drutt:DRUTT_ddr" But i'm not sure :) -Message d'origine- De : BRUNOT Sébastien [mailto:[EMAIL PROTECTED] Envoyé : mercredi 16 juillet 2003 09:42 À : '[EMAIL PROTECTED]' Objet : deploy:copy-deps Hi, I have the following dependency declared in my project.xml :

Class Loader problem (I suspect)

2003-07-16 Thread Olivier Lamy
Hello all, I want to use external ant task in my maven.xml. I declare this : Then I want to use as this : See the console output, in the attach file. (the windows output) I suspect the org.omg.CORBA.ORB is loaded in the parent classloader whereas the others are load

RE: accessing the dependancies in maven.xml

2003-07-16 Thread Neil Blue
Great that works fine. Cheers Neil -Original Message- From: Brian Ewins [mailto:[EMAIL PROTECTED] Sent: 15 July 2003 17:13 To: Maven Users List Subject: Re: accessing the dependancies in maven.xml You probably want 'pom.artifacts' if you want to get at the jar. 'pom.dependencies' is a

RE: problem deploying war on tomcat

2003-07-16 Thread Dominik Dahlem
Thx. This fix solved my problem. Dominik +-+ _/_/_/_/_/ _/_/_/ __/_/_/_/ Dominik Dahlem _/ _/_/ _/ _/ M.Sc. student, Computer Science _/ _/_/ _/ Trinity College Dublin _/ _

deploy:copy-deps

2003-07-16 Thread BRUNOT Sébastien
Hi, I have the following dependency declared in my project.xml : drutt DRUTT_ddr 2 DRUTT_ddr_v2.jar I want to copy all my other dependencies using deploy:copy-deps. How can i declare that this one shouldn't be copied ? deploy:copy-deps needs dependency id's in h