Re: best practise

2003-10-15 Thread Christian Andersson
one step at a time, one step at a time, first i want maven to do everything with my jar-projects, when I'm satisfied with that (and when I get more time) I'll try new stuff, and perheps move over to the web-app parts... I still have some minor problems with my jar-projects and maven , but I thi

jalopy format

2003-10-15 Thread Nathan Coast
Hi, Apologies as this is jalopy question but the jalopy mailing list has zero trafic. I'd like this format for wrapped method parameters public EJBLocalHome getLocalHome(String jndiName, Class homeClass, String mung,

Re: Multiproject

2003-10-15 Thread dion
Can you provide some more information? What goal(s) are you running? What are your multiproject properties set to? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ "Dahlen Jr, Shawn M" <[EMAIL PROTECTED]> wrote on 16/10/2003 02:58:21 AM: > Hello - > > I'

Re: Problem with convert-snapshot goal

2003-10-15 Thread dion
Version of Maven/plugin? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Christian Goos <[EMAIL PROTECTED]> wrote on 16/10/2003 03:34:16 AM: > Hi, > > I was trying to use the convert-snapshot goals of the release plugin. > However the plugin did not repl

Re: How to fail inside a maven plugin

2003-10-15 Thread dion
Why not use the paramCheck tag? http://maven.apache.org/tags.html#maven:paramCheck -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ [EMAIL PROTECTED] wrote on 16/10/2003 12:03:46 AM: > Hi there, > > How to fail inside a maven plugin ? > > example: > >

Exploded EAR How-To

2003-10-15 Thread Bryce Fischer
I'm looking through the plugins now to see the best way to do this. I've got 2 ejb-jars, 1 war combined into 1 ear file into JBoss. I'm getting ready to do some maintenance, so naturally, deploying all that every time can be time consuming. What I'm wanting to do is deploy an exploded ear file,

Re: runtime inspection of release info

2003-10-15 Thread Marc Portier
Sonnek, worked here immediately I did make sure I was running the class from the jar (and not from target/classes in the classpath) afraid I haven't got more ideas here and now.. -marc= Sonnek, Ryan wrote: Sorry about the OT question, but how did you extract the implementation-version info? Ru

Re: jcoverage plugin

2003-10-15 Thread Gilles Dodinet
Dominik, Thanks for your reply. It sure helped me a lot to find the root of the problem. It was caused by the eclipse project configuration which didnt allow multiple output folders, thus writing test classes to target/classes and besides, my custom cleaning goal didnt specify clean:clean as a

Problem with convert-snapshot goal

2003-10-15 Thread Christian Goos
Hi, I was trying to use the convert-snapshot goals of the release plugin. However the plugin did not replace the Snapshot versions. I had a look in the source code and when I replaced the "getVariables." section in the call to getFile of org.apache.maven.util.HttpUtils with some hardcoded stri

Multiproject

2003-10-15 Thread Dahlen Jr, Shawn M
Hello - I'm attempting to use the multiproject plugin to generate a website and I continually recieve the following error: BUILD FAILED File.. file:/i:/.maven/plugins/maven-multiproject-plugin-1.0-SNAPSHOT/ Element... maven:reactor Line.. 42 Column 7 Unable to obtain goal [site] -- f

Use another file instead of ${user.home}/build.properties

2003-10-15 Thread Martin Skopp
Hi gurus, I like to use another file instead ${user.home}/build.properties. Is there any way to specify a alternative filename e.g. on the maven CLI or by a system property (e.g. maven -Duser.properties.file=C:\maven.build.properties) ? I have the problem here that build.properties as filename i

Re: Property inheritance

2003-10-15 Thread Paul Libbrecht
I've found it easier to simply add in a common bin directory, a modified copy of the maven script with the added properties. Paul khote wrote: set a global export MAVEN_HOME_LOCAL=/mavenrepository or some such place. Put that in your /etc/profile so everybody shares it. - Original Message -

RE: runtime inspection of release info

2003-10-15 Thread Sonnek, Ryan
Sorry about the OT question, but how did you extract the implementation-version info? Running in winxp, suns' sdk 1.4.2, I get null whenever I try to get the info. Maven built the manifest correctly, but my app can't get the info. Here's what I've tried: //these two give me null for the impleme

Re: Uploading POM's into the repository working or declined?

2003-10-15 Thread Paul Libbrecht
Rademacher Tobias wrote: Hi Folks, Does the RC1 release uploads the the POM files into the repository? I read a discussion thread on the maven mailing lists about this topic a couple of months ago. So please do not flame me when you decided to decline this feature request. Assuming that it works I

context, pom ...?

2003-10-15 Thread emmanuel . boudrant
Hi, What are the object context, pom (ex: ${context.getVariable(...)}) Is there any documentation about them ? Thx, -emmanuel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to check in a property is setted [found]

2003-10-15 Thread emmanuel . boudrant
No, it's Thx, -emmanuel Selon khote <[EMAIL PROTECTED]>: > > > > > > > > - Original Message - > From: "Marc Portier" <[EMAIL PROTECTED]> > To: "Maven Users List" <[EMAIL PROTECTED]> > Sent: Wednesday, October 15, 2003 7:51 AM > Subject: Re: How to check in a prop

RE: How to fail inside a maven plugin

2003-10-15 Thread Vincent Massol
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 15 October 2003 16:42 > To: Maven Users List > Subject: RE: How to fail inside a maven plugin > > > It's because I was thinking the 'fail' exist in Maven or Jetty... ;)

RE: How to check in a property is setted

2003-10-15 Thread Vincent Massol
Emmanuel, The problem is that jelly script interprets the dot (".") as the execution of a method call. Thus what you are really asking is: if (msl.getDir() == null) See the other answers for how to do it. Thanks -Vincent > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PR

multiproject using goal dist

2003-10-15 Thread Howard M. Lewis Ship
I'm trying to whip together something so that I can support binary and source distros for my project. What I thought I would do is invoke "dist" in each sub-project, and add a postGoal to copy the distros up to a directory of my master project. First step is to see what "dist" does in this cont

Re: How to check in a property is setted

2003-10-15 Thread khote
- Original Message - From: "Marc Portier" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, October 15, 2003 7:51 AM Subject: Re: How to check in a property is setted > not sure, (quite new to maven too) > > I've been checking some exist

Re: How to check in a property is setted

2003-10-15 Thread Marc Portier
not sure, (quite new to maven too) I've been checking some existing jelly code the last days and have seen this construct quite often: sounds like it is your way to go? regards, -marc= [EMAIL PROTECTED] wrote: Hi there, Ho ca I check if a property is setted in project.properties (or ~/

Re: How to check in a property is setted

2003-10-15 Thread Dominik Dahlem
I had the same problem a while ago. I solved it with reading the properties in a jelly variable You can then ckeck if it is set to null. Hope that helps, Dominik On Wed, 2003-10-15 at 15:36, [EMAIL PROTECTED] wrote: > Hi there, > > Ho ca I check if a property is setted in project.properties

Re: How to fail inside a maven plugin

2003-10-15 Thread khote
when I want to see how maven and ant work together, I look in the plugins. My repository is in /mavenrepository I do things like: grep -ir fail /mavenrepository/ | less and I can see where the plugin.jelly files are using that word. - Original Message - From: <[EMAIL PROTECTED]> To: "M

RE: How to fail inside a maven plugin

2003-10-15 Thread emmanuel . boudrant
It's because I was thinking the 'fail' exist in Maven or Jetty... ;) work fine ;) Thx, -emmanuel Selon Vincent Massol <[EMAIL PROTECTED]>: > I guess that if you're asking, it's because doesn't work? > > -Vincent > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PR

RE: How to fail inside a maven plugin

2003-10-15 Thread Vincent Massol
I guess that if you're asking, it's because doesn't work? -Vincent > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 15 October 2003 16:04 > To: [EMAIL PROTECTED] > Subject: How to fail inside a maven plugin > > Hi there, > > How to fail inside a maven pl

How to check in a property is setted

2003-10-15 Thread emmanuel . boudrant
Hi there, Ho ca I check if a property is setted in project.properties (or ~/build.properties...). This is not working : ... Thx, -emmanuel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

RE: How to fail inside a maven plugin

2003-10-15 Thread Mike Gilbert
> -Original Message- > > Hi there, > > How to fail inside a maven plugin ? > > example: > > > > false > > > true > > > >

Re: same project, different properties

2003-10-15 Thread Nicolas De Loof
Thank's a lot, I'll try this. - Original Message - From: <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, October 15, 2003 3:59 PM Subject: Re: same project, different properties I have the same kind to do so : Do the following project structure : projec

Réf. : How to fail inside a maven plugin

2003-10-15 Thread Nicolas . CHALUMEAU
Acording to the ant docs or or Something wrong here. Nicolas [EMAIL PROTECTED] 15/10/2003 16:03 Veuillez répondre à "Maven Users List" Pour : [EMAIL PROTECTED] cc : Objet : How to fail inside a maven plugin Hi there, How to fail inside a maven plugin ?

Re: How to fail inside a maven plugin

2003-10-15 Thread khote
or some message - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 15, 2003 7:03 AM Subject: How to fail inside a maven plugin > Hi there, > > How to fail inside a maven plugin ? > > example: > > > > false > > > true

How to fail inside a maven plugin

2003-10-15 Thread emmanuel . boudrant
Hi there, How to fail inside a maven plugin ? example: false true FAIL HERE

Re: same project, different properties

2003-10-15 Thread khote
It really pays to look into the plugin.jelly files in your repository/plugins. you can do these things in your maven.xml, you can change any value that's loaded from your project.properties, you can execute your own war:whatever goals. Take a look at maven-war-plugin's plugiin.jelly to see how i

Re: same project, different properties

2003-10-15 Thread Nicolas . CHALUMEAU
I have the same kind to do so : Do the following project structure : project src webapp (your common jsp/html/conf in a valid webapp structure) subproject1 src webapp/WEB-INF (your specific configuration) subproject2 src webapp/WEB-INF (y

Re: same project, different properties

2003-10-15 Thread Nicolas De Loof
I've tried this : I created a second directory "webapp-restricted" I created a project.xml that extends "../webapp/project.xml" I created a project.properties with restricted webapp specific properties, setting sources directory to "../webapp/src" Using maven war on this second project works fi

Re: same project, different properties

2003-10-15 Thread Nicolas De Loof
I agree with it, but I don't know how to do it. The only differences between the two webapps will be the URI it will accept, that are configured in web deployment descriptor. How can I make such subprojects (if it's really so simple) ? As a second general question, what is the use of the secti

RE: Property inheritance

2003-10-15 Thread Alastair Rodgers
Thanks - I wasn't aware of MAVEN_HOME_LOCAL. > -Original Message- > From: khote [mailto:[EMAIL PROTECTED] > Sent: 15 October 2003 13:04 > To: Maven Users List > Subject: Re: Property inheritance > > > set a global > export MAVEN_HOME_LOCAL=/mavenrepository > or some such place. Put t

Re: same project, different properties

2003-10-15 Thread Nicolas . CHALUMEAU
Nicolas, you could make 2 subprojects, it is so simple to do ;) and a good approche And see the WhyYouCantCreateMultipleArtifactsInOneProject page. http://wiki.codehaus.org/maven/WhyYouCantCreateMultipleArtifactsInOneProject Nicolas --- "Nicolas De Loof" <[EMAIL

Re: same project, different properties

2003-10-15 Thread Nicolas De Loof
I tried this too, and it doesn't work : project.xml pacila-back-office pacila-back-office pacila Nico. - Original Message - From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 15, 2003 3:19 PM Subject: same project, d

same project, different properties

2003-10-15 Thread Nicolas De Loof
Hello all, I'm a newbie maven user. I use maven for a webapp project, and I need to build a second war file from the same java sources (same web application, but different web.xml) I want to use war-plugin "maven.war.webxml" property to set the web.xml that is used in the war, and change it re

Help needed in writing custom Jelly tags

2003-10-15 Thread Sri Sankaran
Have you written a custom Jelly tag library - that is *not* part of the Maven installation? If so, how do you specify the name of your TagLibrary class in the xmlns declaration? I am finding that xmlns:mine="jelly:com.foo.bar.MyTagLibrary" doesn't cut it. I am having a devil of a time (se

Re: runtime inspection of release info

2003-10-15 Thread Jason van Zyl
On Wed, 2003-10-15 at 03:04, Marc Portier wrote: > Hi all, > > I want to achieve the following: > - have an easy mechanism for applications to be able to inspect their > own release information at runtime... (think about: help/about dialogs > or log statements showing some release info) > > (th

Re: Property inheritance

2003-10-15 Thread khote
set a global export MAVEN_HOME_LOCAL=/mavenrepository or some such place. Put that in your /etc/profile so everybody shares it. - Original Message - From: "Alastair Rodgers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 15, 2003 3:46 AM Subject: Property inheritanc

Re: runtime inspection of release info

2003-10-15 Thread Marc Portier
wow, thx Mike, was indeed what I was looking for. looks like another one of the well kept secrets of java.lang.* :-) -marc= Mike Gilbert wrote: Hi Marc, have a look at http://java.sun.com/products/jdk/1.2/docs/guide/versioning/spec/VersioningSp ecification.html#PackageVersioning and http://java

Multiprojects, reactor and documentation

2003-10-15 Thread Jose Gonzalez Gomez
I would like to use maven to develop J2EE applications, and it seems that the preferred way of doing this with maven is splitting the project into several modules, corresponding to the deliverables in the project (EJB jars, wars, ears). I've been taking a look at maven, and the list archive

Property inheritance

2003-10-15 Thread Alastair Rodgers
Hello, I've just started using Maven over the last couple of days, and I must say, my first impressions are very positive (I'm used to dealing with lots of nearly-identical Ant scripts!). Thanks. I've been trying to use property inheritance, and I gathered from the mailing list archive that

Re: jelly variable $sourcesPresent in maven-java-plugin-1.3

2003-10-15 Thread Nicolas . CHALUMEAU
Hi It is a common property for all the plugins. It is init in driver.jelly (you can find it in your maven.jar). Nicolas Heiko Kundlacz <[EMAIL PROTECTED]> 09/10/2003 08:15 Veuillez répondre à "Maven Users List" Pour : "'Maven Users List'" <[EMAIL PROTECTED]> cc :

RE: runtime inspection of release info

2003-10-15 Thread Mike Gilbert
Hi Marc, have a look at http://java.sun.com/products/jdk/1.2/docs/guide/versioning/spec/VersioningSp ecification.html#PackageVersioning and http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Package.html > -Original Message- > From: Marc Portier [mailto:[EMAIL PROTECTED] > Sent: Wednesd

jelly variable $sourcesPresent in maven-java-plugin-1.3

2003-10-15 Thread Heiko Kundlacz
Hi all, Currently I check how to work with jelly from maven. I have had a look at plugin.jelly and found: .. .. I can't understand where the variable sourcesPresent was set. Could you please explain it to me? Thanks for your help Heiko ---

Re: jcoverage plugin

2003-10-15 Thread Dominik Dahlem
Hi, all classes in ${maven.build.dest} are instrumented. I'm not using any properties to run jcoverage. Maybe your test classes compile to ${maven.build.dest} as well. Dominik On Wed, 2003-10-15 at 00:26, Gilles Dodinet wrote: > Hi- > > I am not familiar with the jcoverage tool and i have som

runtime inspection of release info

2003-10-15 Thread Marc Portier
Hi all, I want to achieve the following: - have an easy mechanism for applications to be able to inspect their own release information at runtime... (think about: help/about dialogs or log statements showing some release info) (the info to gather would be the kind of stuf inside the manifest.mf