Re: Using Mevenide on NetBeans 4.0 with multiprojects using multiple source directories per project

2004-09-09 Thread Milos Kleint
As I've already replied on the andromda's list, here's just the link to 
the filed jira issue:
http://jira.codehaus.org/browse/MEVENIDE-93

Milos
Philippe Monnet wrote:
Today I decided to try out the new version of Mevenide for NetBeans 4.0
beta 1.
It is a very cool plug-in: once you open the root project, Mevenide
automatically parses the subprojects and "mounts" them in the IDE and
sets the classpaths based on declared dependencies. This greatly makes
life easier for Maven projects especially when using the Multiproject
pattern. Kudos to the team!
However when I use the AndroMDA tool , which uses multiprojects and use
2 types of source directories per project (one for always-re-generated
code , and one for generated but to-be-tailored code), Mevenide only
picks up the source directory declared in the project.xml (seems
logical). I'm trying to figure out how to setup Maven/Mevenide so that
both directories will be "mounted" in NetBeans.
Does anyone have experience with this?
Thanks in advance.
Philippe
PS - In case you are not familiar with AndroMDA ( 
http://team.andromda.org), AndroMDA uses subprojects and XDoclet to 
generate
various artifacts like EJBs, common components, etc.
If I have a root project called mysvc in C:\mysvc, the full directory
structure looks as follow:

project.properties  - root
project.xml
.\ejb  - subproject for the EJB components
.\ejb\project.xml
.\ejb\src\java   --contains source code to be tailored by
the developer (generated only once by AndroMDA through XDoclet )
.\ejb\src\java\org\mddtut\mddtut2\MySvcBeanImpl.java
.\ejb\target
.\ejb\target\classes
...
.\ejb\target\classes\org\mddtut\mddtut2\MySvcBean.class
.\ejb\target\classes\org\mddtut\mddtut2\MySvcBeanImpl.class
...
.\ejb\target\src\- contains source code always re-/generated
by AndroMDA through XDoclet
...
.\ejb\target\src\org\mddtut\mddtut2\MySvcBean.java
...
.\ejb\target\xdoclet\
.\mda  - subproject containing the UML model
driving the AndroMDA generation
.\mda\project.xml
.\mda\src\uml\mddtut2a-model.xmi
..
If you look at the ejb subproject, you will notice the 2 source code
directories:
.\ejb\src\java   --contains source code to be tailored by
the developer (generated only once by AndroMDA through XDoclet )
.\ejb\target\src\- contains source code always re-/generated
by AndroMDA through XDoclet
In .\ejb\project.xml, the sourceDirectory points to src\java.
However, since we also have code in target\java, that directory does not
get mounted in NetBeans.
I have tried to add a  section but I must not know
how to set that up properly:

  src/java
  

  MySvcBean
  
target/src/**/*.java
  

  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Maven and JNLP plugin

2004-09-09 Thread Kevin S. Clarke
Hi,

Yes, I will open an issue and probably submit a patch.  I've changed
it to work for me, but I need to look it over to make sure I haven't
broken something else (and that I'm doing it correctly and not just in
a way that gets the results I want).  I'm also changing it to create
different JNLP  elements (if needed) so resources targeted
to a particular OS can be represented in the output JNLP file.  I'm
deploying swt jars that will be different for different OSes.  I've
done this by adding another property where the OS can be specified.

Thanks,
Kevin


On Thu, 9 Sep 2004 10:47:14 +0200, Emmanuel Venisse
<[EMAIL PROTECTED]> wrote:
> OK, I think we have a bug.
> 
> The jardiff mode convert all non-snapshot artefact to
> dependencyName__VdependencyVersion.
> So, only snapshot jar must be put into the version.xml file when you use the
> jardiff mode.
> Can you open an issue (http://jira.codehaus.org/browse/MPJNLP) and
> eventually purpose a patch.
> 
> Emmanuel
> 
> - Original Message -
> From: "Kevin S. Clarke" <[EMAIL PROTECTED]>
> To: "Emmanuel Venisse" <[EMAIL PROTECTED]>
> Cc: "Maven Users List" <[EMAIL PROTECTED]>
> Sent: Wednesday, September 08, 2004 8:24 PM
> Subject: Re: Maven and JNLP plugin
> 
> > Hi,
> >
> > I'm using plugin version 1.4.1.
> 
> 
> >
> > I have jardiff set for true.
> >
> > Thanks, Kevin
> >
> >
> > On Wed, 8 Sep 2004 10:47:38 +0200, Emmanuel Venisse
> > <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > What is your jnlp plugin version?
> > >
> > > Do you define maven.jnlp.jardiff property?
> > >
> > > Emmanuel
> > >
> > >
> > >
> > > - Original Message -
> > > From: "Kevin S. Clarke" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Wednesday, September 08, 2004 1:10 AM
> > > Subject: Maven and JNLP plugin
> > >
> > > > Hi,
> > > >
> > > > I'm new to the JNLP plugin and I do not seem to be able to figure out
> > > > what it is doing.  I have the following in my project.properties:
> > > >
> > > > maven.jnlp.usejarversions=true
> > > > maven.jnlp.signjar.store=/home/kevin/.keystore
> > > > maven.jnlp.signjar.storepass=
> > > > maven.jnlp.signjar.alias=medlane
> > > >
> > > > When I run "maven jnlp", the jars build and get signed, but the jars
> > > > that are left in the target/jnlp directory have names like
> > > > medlane__V0.0.1.jar rather than medlane-0.0.1.jar (which is what they
> > > > are called in the target/jnlp_temp directory).
> > > >
> > > > The version.xml file that get created and left in target/jnlp has
> sections
> > > like:
> > > >
> > > >   
> > > > 
> > > >   medlane-0.0.1.jar
> > > >   0.0.1
> > > > 
> > > > medlane-0.0.1.jar
> > > >   
> > > >
> > > > I'm new to JNLP too (used it once about a year and a half ago), but it
> > > > looks like there is some disjunct here.  I've tried it without
> > > > usejarversions too and I get the same jar names in the target/jnlp
> > > > directory just no version.xml file.
> > > >
> > > > Any thoughts on what I'm doing wrong?
> > > >
> > > > Thanks, Kevin
> > > >
> > > > -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: reference list of all pom.* properties?

2004-09-09 Thread Brett Porter
This is the most comprehensive one:
http://cvs.apache.org/viewcvs.cgi/maven/src/java/org/apache/maven/project/Project.java?rev=1.99&view=markup


On Thu, 9 Sep 2004 23:14:11 -0400, Springer, Ian P. <[EMAIL PROTECTED]> wrote:
> Is there a reference available anywhere for all the pom.* properties
> (pom.artifactId, pom.currentVersion, etc..), as well as pom.* functions
> (pom.getPluginContext('maven-java-plugin'), pom.getDependency('junit'),
> etc..) that are defined by Maven?
> 
> Thanks,
> Ian
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



reference list of all pom.* properties?

2004-09-09 Thread Springer, Ian P.
Is there a reference available anywhere for all the pom.* properties
(pom.artifactId, pom.currentVersion, etc..), as well as pom.* functions
(pom.getPluginContext('maven-java-plugin'), pom.getDependency('junit'),
etc..) that are defined by Maven?

Thanks,
Ian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



MavenIDE

2004-09-09 Thread Ricardo de Souza Moura
Is anybody using mavenide with eclipse to do the projects ?
When I create a project, sample1 for sample, it create some folders:
sample1
   main/src/java
   main/src/test
   project.xml
It works well if my project produce only one artifact, but what Can I do to 
use mavenIDE and my project produce two or more artifacts ?
I think I need subprojects. One project.xml to each subproject. Am I right ? 
How can I do it, using mavenIDE ?

thanks
_
MSN Messenger: converse com os seus amigos online.  
http://messenger.msn.com.br

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: easy way to fetch jar dependencies

2004-09-09 Thread James Mitchell
What's difficult about figuring out Struts dependencies?

What version of Struts are you building with?

http://cvs.apache.org/viewcvs.cgi/jakarta-struts/project.xml

or check the build.xml


--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx

- Original Message -
From: "Pedro Salgado" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Thursday, September 09, 2004 8:30 PM
Subject: Re: easy way to fetch jar dependencies


> On 10/9/04 1:20 am, "Brett Porter" <[EMAIL PROTECTED]> wrote:
>
> > not yet. We are currently developing maven 2 which already has this
> > functionality.
>
>   If you need any help... feel free to ask.
>
>   I was googling to know the packages dependencies... and I found "savant"
> it sure seems similar to maven and has this feature. Cant wait for 2.0 :D
>
>   Thank you!
>
> Pedro Salgado
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: accessing os from maven?

2004-09-09 Thread dan tran
Check out the os properties available to your JVM

http://java.sun.com/j2se/1.3/docs/api/java/lang/System.html#getProperties()

properties available to JVM also avaiable to maven as well.

-Dan



On Thu, 09 Sep 2004 20:33:03 -0400, Adam Fisk <[EMAIL PROTECTED]> wrote:
> Anyone know how to check the operating system from Maven?  I'm
> ultimately trying to report test results from different operating
> systems (a really important thing to do for widely deployed client
> apps), so I'd love any tips on how to do that cleanly if you've got
> 'em.  Just accessing what OS Maven is running on would be a big start
> though.
> 
> This is one of the most responsive lists I've ever been on, by the way.
> You guys rock.
> 
> Thanks.
> 
> -Adam
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



accessing os from maven?

2004-09-09 Thread Adam Fisk
Anyone know how to check the operating system from Maven?  I'm 
ultimately trying to report test results from different operating 
systems (a really important thing to do for widely deployed client 
apps), so I'd love any tips on how to do that cleanly if you've got 
'em.  Just accessing what OS Maven is running on would be a big start 
though. 

This is one of the most responsive lists I've ever been on, by the way.  
You guys rock.

Thanks.
-Adam
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: easy way to fetch jar dependencies

2004-09-09 Thread Pedro Salgado
On 10/9/04 1:20 am, "Brett Porter" <[EMAIL PROTECTED]> wrote:

> not yet. We are currently developing maven 2 which already has this
> functionality.

  If you need any help... feel free to ask.

  I was googling to know the packages dependencies... and I found "savant"
it sure seems similar to maven and has this feature. Cant wait for 2.0 :D

  Thank you!

Pedro Salgado


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: easy way to fetch jar dependencies

2004-09-09 Thread Brett Porter
not yet. We are currently developing maven 2 which already has this
functionality.

- Brett


On Fri, 10 Sep 2004 00:59:11 +0100, Pedro Salgado <[EMAIL PROTECTED]> wrote:
> Hi to all!
> 
>   Is there any way to do this:
> 
>   - fetch struts jar
>   - fetch automatically all of struts dependencies? (without the need of
> writing the dependencies myself)?
> 
>   I tried the "copy paste technique" but I only found few poms in order to
> copy the dependencies :(
> 
> Pedro Salgado
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



easy way to fetch jar dependencies

2004-09-09 Thread Pedro Salgado
Hi to all!

  Is there any way to do this:

  - fetch struts jar
  - fetch automatically all of struts dependencies? (without the need of
writing the dependencies myself)?


  I tried the "copy paste technique" but I only found few poms in order to
copy the dependencies :(

Pedro Salgado


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: What about distributions at ibiblio?

2004-09-09 Thread Trygve Laugstøl
On Thu, Sep 09, 2004 at 08:58:38AM -0400, Thompson, Bryan B. wrote:
> Can maven.repo.repository be added to in the POM?  I.e., so that I can
> distribute a POM that knows where it expects to find various artifacts
> for our project rather than relying on people having to edit their own
> build.properties file?

It's already in the next version of the pom though there shouldn't be a
problem specifying the remote repositories in project.properties instead
of build.properties.

--
Trygve

> 
> Thanks,
> 
> -bryan
> 
> -Original Message-
> From: Carlos Sanchez [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, September 05, 2004 5:15 PM
> To: 'Maven Users List'
> Subject: RE: What about distributions at ibiblio?
> 
> 
> Hi,
> 
> You can always create your own repository and upload there the files you
> need. Then add it to maven.repo.remote property and that's all.
> 
> There are already zips in the repo so I don't see any problem, but as long
> as they are apache projects you'll have to ask the project team to upload
> them to apache repository.
> 
> 
> Regards
> 
> Carlos Sanchez
> A Coruña, Spain
> 
> Oness Project
> http://oness.sourceforge.net
> 
> 
> > -Original Message-
> > From: David Jencks [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, September 05, 2004 10:41 PM
> > To: Maven Users List
> > Subject: What about distributions at ibiblio?
> > 
> > I have been working with a couple of rather large projects
> > that need to be deployed and tested in several environments, 
> > and I've come up with a method that I find very convenient.  
> > However, for widespread use it may need some uploads to the 
> > maven repo, so I'd like some guidance on where various 
> > artifacts might go or if there is another way to get the 
> > artifacts needed.
> > 
> > The idea is to have a project for each environment/app server:
> > 
> > installations/
> >-tomcat4
> >-tomcat5
> >-geronimo
> > etc.
> > 
> > The maven.xml for each of these projects unpacks the
> > environment from a copy in the local maven repo, deploys the 
> > application ( the "large project" ) and if possible starts 
> > the server and runs integration tests.
> > 
> > Running "maven clean default" assures that the integration
> > tests are run in a clean environment.
> > 
> > For geronimo we are building a suitable jar that can be
> > unpacked yielding a runnable server.
> > 
> > For tomcat, there are suitable zip files at apache, but they
> > are not in the ibiblio repository.
> > e.g.
> > http://apache.gnusoft.net/jakarta/tomcat-5/v5.0.28/bin/jakarta-tomcat
> > -5.0.28.zip
> > http://apache.gnusoft.net/jakarta/tomcat-4/v4.1.30/bin/jakarta-tomcat
> > -4.1.30.zip
> > 
> > So...
> > Is there some way to use the apache download site as a maven
> > repository?
> > If not, should these zip files go into ibiblio as 
> > distributions or zips?
> > 
> > And, what would I need to do to get these uploaded to ibiblio?
> > 
> > many thanks,
> > david jencks
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


signature.asc
Description: Digital signature


Re: Inherting project.properties

2004-09-09 Thread Brett Porter
For Maven 1.0, it is intended that all files tied to the project.xml
are inherited (ie project.properties, build.properties and maven.xml).
It will not go away in the future of POMv3.

- Brett

On Fri, 10 Sep 2004 00:04:01 +0200, Jörg Schaible <[EMAIL PROTECTED]> wrote:
> Bruce Snyder wrote:
> 
> > This one time, at band camp, Kim Goings said:
> >
> > KG>If you extend your projects from a "master" parent project, it will
> > KG>also inherit project.properties from that parent.
> > KG>
> > KG>http://maven.apache.org/reference/project-descriptor.html#extend
> >
> > That only applies to the project descriptor (i.e. project.xml). It
> > does not apply to project.properties files. AFAIK, inheritance of
> > project.properties files is not there.
> 
> It is. It was introduced with RC3 or RC4.
> 
> - Jörg
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: site:deploy & preserving permissions

2004-09-09 Thread Derek Greer
In case anyone else runs into this, after poking around in the jelly 
script I discovered there isn't a maven parameter for setting the mode.  
I ended up modifying the script to change all cgi files to executable.


   
   
   
 

It would be cool if the site plugin could be modified to allow this 
through the properties. I'm not sure how to do this in jelly for 
multiple modes, but setting an excludesfile and includesfile through 
parameters would give a little flexibility (i.e. maven.site.tar.mode=755 
and maven.site.tar.includesfile=c:\executables.txt).

Derek
Derek Greer wrote:
I have a perl cgi which I am trying to deploy with my maven site, but 
the cgi's permissions isn't being maintained.  I'm using 
maven.site.tar.executable = gtar and would like to pass the "-p" 
argument to have it preserve the permissions.  Is there a way to do that?

Derek
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Inherting project.properties

2004-09-09 Thread Jörg Schaible
Bruce Snyder wrote:

> This one time, at band camp, Kim Goings said:
> 
> KG>If you extend your projects from a "master" parent project, it will
> KG>also inherit project.properties from that parent.
> KG>
> KG>http://maven.apache.org/reference/project-descriptor.html#extend
> 
> That only applies to the project descriptor (i.e. project.xml). It
> does not apply to project.properties files. AFAIK, inheritance of
> project.properties files is not there.

It is. It was introduced with RC3 or RC4.

- Jörg


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Inherting project.properties

2004-09-09 Thread dan tran
Please dont call it a bug!! it works well for me and I need it.

It is better if we OOlized properties and goals. ie some
properties/goals are marked as private

-D

On Thu, 9 Sep 2004 16:10:42 -0500, Kim Goings <[EMAIL PROTECTED]> wrote:
> Indeed, it does.  If it is a bug and goes away sometime in the future,
> I will feel much pain.
> 
> Kim
> 
> 
> 
> 
> On Sep 9, 2004, at 3:03 PM, Felipe Leme wrote:
> 
> > Hi Bruce,
> >
> > From my experience, the inheritance applies to everything: maven.xml,
> > build.properties and project.properties, besides the project.xml.
> >
> > I'm not sure though if that's on purpose or just a 'bug' - either way,
> > that's a good candidate to a FAQ entry :-)
> >
> > -- Felipe
> >
> >
> >
> > On Thu, 9 Sep 2004 13:35:55 -0600 (MDT), Bruce Snyder
> > <[EMAIL PROTECTED]> wrote:
> >> That only applies to the project descriptor (i.e. project.xml). It
> >> does not apply to project.properties files. AFAIK, inheritance of
> >> project.properties files is not there.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Inherting project.properties

2004-09-09 Thread Kim Goings
Indeed, it does.  If it is a bug and goes away sometime in the future, 
I will feel much pain.

Kim
On Sep 9, 2004, at 3:03 PM, Felipe Leme wrote:
Hi Bruce,
From my experience, the inheritance applies to everything: maven.xml, 
build.properties and project.properties, besides the project.xml.

I'm not sure though if that's on purpose or just a 'bug' - either way, 
that's a good candidate to a FAQ entry :-)

-- Felipe

On Thu, 9 Sep 2004 13:35:55 -0600 (MDT), Bruce Snyder 
<[EMAIL PROTECTED]> wrote:
That only applies to the project descriptor (i.e. project.xml). It
does not apply to project.properties files. AFAIK, inheritance of
project.properties files is not there.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: maven auto update plugin

2004-09-09 Thread Eric Pugh
I have a chunk of code and maven goal called "latestversion" that checks for
newer versions of a specific plugin and notifies the user.  I am pulling it
out of the existing location and hope to commit it to maven-plugins/sandbox
sometime next week.

ERic

> -Original Message-
> From: Ryan Sonnek [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 09, 2004 6:11 PM
> To: Maven Users List
> Subject: maven auto update plugin
>
>
> Does anyone out there know of a plugin that will search for
> updated versions of installed plugins?  I've been thinking about
> creating one and didn't want to reinvent the wheel.  It seems
> like this plugin could be quite useful since plugins are released
> on different schedules than the maven distribution.  It's not
> very convenient to download maven-1.0 and then have to manually
> update the 10-15 plugins that have been released since the 1.0 release.
>
> Ryan
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Inherting project.properties

2004-09-09 Thread Felipe Leme
Hi Bruce,

>From my experience, the inheritance applies to everything: maven.xml, 
>build.properties and project.properties, besides the project.xml.

I'm not sure though if that's on purpose or just a 'bug' - either way, that's a good 
candidate to a FAQ entry :-)

-- Felipe



On Thu, 9 Sep 2004 13:35:55 -0600 (MDT), Bruce Snyder <[EMAIL PROTECTED]> wrote:
> That only applies to the project descriptor (i.e. project.xml). It
> does not apply to project.properties files. AFAIK, inheritance of
> project.properties files is not there.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



site:deploy & preserving permissions

2004-09-09 Thread Derek Greer
I have a perl cgi which I am trying to deploy with my maven site, but 
the cgi's permissions isn't being maintained.  I'm using 
maven.site.tar.executable = gtar and would like to pass the "-p" 
argument to have it preserve the permissions.  Is there a way to do that?

Derek
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Inherting project.properties

2004-09-09 Thread Bruce Snyder
This one time, at band camp, Kim Goings said:

KG>If you extend your projects from a "master" parent project, it will
KG>also inherit project.properties from that parent.
KG>
KG>http://maven.apache.org/reference/project-descriptor.html#extend

That only applies to the project descriptor (i.e. project.xml). It
does not apply to project.properties files. AFAIK, inheritance of
project.properties files is not there.

Bruce
--
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9Ehttp://www.castor.org/

Apache Geronimo
http://incubator.apache.org/projects/geronimo.html

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Inherting project.properties

2004-09-09 Thread Kim Goings
If you extend your projects from a "master" parent project, it will 
also inherit project.properties from that parent.

http://maven.apache.org/reference/project-descriptor.html#extend
Kim
On Sep 9, 2004, at 12:40 PM, Helck, Christopher wrote:
I have multiple projects and I'd like them to inherit from a common
project.properties. Is there a way to do this? Entities?
Thanks,
C. Helck
The information contained in this e-mail is confidential. This e-mail 
is intended only for the stated addressee.  If you are not an 
addressee, you must not disclose, copy, circulate or in any other way 
use or rely on the information contained in this e-mail. if you have 
received this e-mail in error, please inform us immediately and delete 
it and all copies from your system.

EBS Dealing Resources International Limited.  Registered address:  
55-56 Lincoln's Inn Fields, London WC2A 3LJ, United Kingdom. 
Registered number 2633663.

EBS Dealing Resources, Inc, registered in Delaware. Address: 535 
Madison Avenue, 24th Floor, New York, NY 10022, USA, and One upper 
Pond road, Building F - Floor 3, Parsippany, NJ 07054, USA.

EBS Dealing Resources Japan Limited, a Japanese Corporation. Address: 
Asteer Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku,  Tokyo 
104-0033, Japan.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Inherting project.properties

2004-09-09 Thread Helck, Christopher
I have multiple projects and I'd like them to inherit from a common
project.properties. Is there a way to do this? Entities?

Thanks,
C. Helck


The information contained in this e-mail is confidential. This e-mail is intended only 
for the stated addressee.  If you are not an addressee, you must not disclose, copy, 
circulate or in any other way use or rely on the information contained in this e-mail. 
if you have received this e-mail in error, please inform us immediately and delete it 
and all copies from your system.

EBS Dealing Resources International Limited.  Registered address:  55-56 Lincoln's Inn 
Fields, London WC2A 3LJ, United Kingdom. Registered number 2633663.

EBS Dealing Resources, Inc, registered in Delaware. Address: 535 Madison Avenue, 24th 
Floor, New York, NY 10022, USA, and One upper Pond road, Building F - Floor 3, 
Parsippany, NJ 07054, USA.

EBS Dealing Resources Japan Limited, a Japanese Corporation. Address: Asteer Kayabacho 
Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku,  Tokyo 104-0033, Japan.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: checkout-project error=2

2004-09-09 Thread Liu, Zhihai
most likely it means that cvs executable is not in path. 

-Original Message-
From: Henderson, Jerry L [CC] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 1:57 PM
To: Maven Users List
Subject: scm:checkout-project error=2


Help. When I try to run maven scm:checkout-project to download any of
the maven projects I get a "error=2" 
 
For example: 
maven scm:checkout-project -Dmaven.scm.method=cvs
-Dmaven.scm.cvs.module=goals-grabber 
-Dmaven.scm.cvs.root=:pserver:[EMAIL PROTECTED]:/home/
projects/mevenide/scm -Dmaven.scm.checkout.dir=.
 
Results in :
java.io.IOException: CreateProcess: cvs
-d:pserver:[EMAIL PROTECTED]:/home/projects/mevenide/s
cm -q checkout -P goals-grabber error=2
 
 
Can someone tell me what I'm doing wrong ?
 
Thanks.
 
 
Jerald L. Henderson
HRD Corporate Staff/UE Infrastructure Staff 
(913)315-3803 (Office) 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



plugin groupId

2004-09-09 Thread Nathan Coast
Hi
after loading the pom for a plugin hosted at maven (e.g. maven-jar-plugin) the groupId 
returns 'maven-jar-plugin' when I look at the plugin's project.xml, it actually belongs to 
the 'maven' group.  I guess the problem is due to the fact that core plugins extend 
../plugin-parent/project.xml

I'm working towards a plugin that loads other resources for a plugin from 
remote_repo/[plugin.groupId]/distributions/

Is there any way to obtain the correct plugin.groupId for maven plugins when loading the 
plugin's pom as follows:


For some future version of maven, is the plan to retain the 'maven' groupId for all 
plugins hosted by maven?

cheers
Nathan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


scm:checkout-project error=2

2004-09-09 Thread Henderson, Jerry L [CC]
Help. When I try to run maven scm:checkout-project to download any of
the maven projects I get a "error=2" 
 
For example: 
maven scm:checkout-project -Dmaven.scm.method=cvs
-Dmaven.scm.cvs.module=goals-grabber 
-Dmaven.scm.cvs.root=:pserver:[EMAIL PROTECTED]:/home/
projects/mevenide/scm -Dmaven.scm.checkout.dir=.
 
Results in :
java.io.IOException: CreateProcess: cvs
-d:pserver:[EMAIL PROTECTED]:/home/projects/mevenide/s
cm -q checkout -P goals-grabber error=2
 
 
Can someone tell me what I'm doing wrong ?
 
Thanks.
 
 
Jerald L. Henderson
HRD Corporate Staff/UE Infrastructure Staff 
(913)315-3803 (Office) 
 


loading the pom for a plugin

2004-09-09 Thread Nathan Coast
Hi,
from a recent post I found out how to load a pom into a variable,  what I'm trying to do 
now is to load the pom of an installed plugin. unfortunately I only know the artifactId of 
the plugin and not the installed version number.

I have found a workaround to locate the project's descriptor.
   

  

  
  
  
  
is this the only way or is there some other way of loading a plugin's pom without knowing 
the installed version?  My solution feels like a hack.

cheers
Nathan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


maven auto update plugin

2004-09-09 Thread Ryan Sonnek
Does anyone out there know of a plugin that will search for updated versions of 
installed plugins?  I've been thinking about creating one and didn't want to reinvent 
the wheel.  It seems like this plugin could be quite useful since plugins are released 
on different schedules than the maven distribution.  It's not very convenient to 
download maven-1.0 and then have to manually update the 10-15 plugins that have been 
released since the 1.0 release.

Ryan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: site:sshdeploy

2004-09-09 Thread Per Abich
I have these lines in my build.properties:

maven.ssh.executable=c:/programme/putty/plink
maven.scp.executable=c:/programme/putty/pscp

And the putty agent "pagant" is running. Putty logs in via pub-key. If
you have putty working with pub-key, then this should work.

Per


On Wed, 8 Sep 2004 18:29:27 +0200, Geoffrey <[EMAIL PROTECTED]> wrote:
> Dion, did you have time to reveiw and commit the site-deployment.xml I wrote
> and send you?
> It contains info on how to use openSSH's agent to avoid the password prompt.
> 
> --
> With kind regards,
> Geoffrey
> "Dion Gillard" <[EMAIL PROTECTED]> schreef in bericht
> news:[EMAIL PROTECTED]
> 
> 
> > You  have to set up the ssh server to skip the password
> > prompt during authentication
> >
> >
> > On Tue, 07 Sep 2004 23:58:56 -0400, Adam Fisk <[EMAIL PROTECTED]>
> wrote:
> > > I'm trying to use the site:sshdeploy goal, and it's hanging.  I believe
> > > it hangs when the server asks for a password.  My test server is running
> > > Windows, so I'm using Cygwin.  This makes it trickier to setup ssh to
> > > automatically authenticate known keys and skip the password prompt
> > > (although it's possible).
> > >
> > > Anyone know if I have to set up the ssh server to skip the password
> > > prompt during authentication, or could there be something else happening
> > > here?  I'm able to use scp to this machine outside of Maven when I fill
> > > in the password prompt.
> > >
> > > Thanks so much.
> > >
> > > -Adam
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> > --
> > http://www.multitask.com.au/people/dion/
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to schedule a nightly build in Maven

2004-09-09 Thread STRAYER, JON (SBCSI)
> CruiseControl seems like a good choice. It however requires 
> having Ant build scripts, which than again makes Maven 
> unnecessary in this scenario (nightly build system)..? Or am 
> I wrong here?

CruiseControl now has a Maven builder.  
http://cruisecontrol.sourceforge.net/main/configxml.html#maven

> 
> I see that Maven has a plugin for CruiseControl and vice 
> versa, what are the potential advantages of integrating these 
> two tools?

The advantage is that you only have to specify something's in one place.  
You really wouldn't want to do your test builds with ANT and your deployment
builds with Maven (it would be too easy to get them out of sync).
 
> Please tolerate my newbie questions ;) 

The only people who aren't Maven newbies work on the project.  :-)

> What our J2EE project 
> needs is a continous build system tests which creates some 
> kind of notification if the build fails.

We don't have a J2EE project yet, but what we have is a set of nine (and
growing) pojo projects that CruiseControl does continuous builds on using
Maven as the build system.  Anytime a build fails I and whoever checked in
code since the last build get notified.  The notification includes the
entire Maven log (so it's pretty easy to tell what failed).

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: site:deploy

2004-09-09 Thread Dion Gillard
Can you set the site directory in a pom that the subprojects extend?


On Thu, 9 Sep 2004 06:39:39 -0700 (PDT), jeff mutonho
<[EMAIL PROTECTED]> wrote:
> Hi guys
> If  I wanna do a site:deploy for all my subprojects , do i have to add
>in each of the subproject's project.xml?  and then create the 
> deploy directories manually ?
> 
> jeff mutonho
> 
> 
> -
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> 



-- 
http://www.multitask.com.au/people/dion/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Dependency of type property

2004-09-09 Thread James Mitchell
What do you mean "instead of copying"?
Do you mean having a common set of properties that get appended to each
subprojects existing ApplicationResources.properties?


--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx



- Original Message -
From: "Marco Tedone" <[EMAIL PROTECTED]>
To: "Maven-users" <[EMAIL PROTECTED]>
Sent: Thursday, September 09, 2004 10:18 AM
Subject: Dependency of type property


> Hi, is there a way to declare a dependency of type 'property'? The reason
is
> that it would be usefull to have a dependency of type property when using
> Struts (and I think not only) for MessageResource bundles. Basically a
> company may want to use always the same type of labels (already
> internationalized) for all its sites. Instead of copying the same every
> time, it would be nice to be able to declare a dependency and include it
in
> the war artifact.
>
> Marco
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Ref. : RE: How to schedule a nightly build in Maven

2004-09-09 Thread Eric Pugh
That is a great idea..  Can you send in a patch?  

Eric

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 09, 2004 4:05 PM
> To: [EMAIL PROTECTED]
> Subject: Ref. : RE: How to schedule a nightly build in Maven
> 
> 
> 
> Hi all
> 
> 
> 
> I know it's a "just contribute" remark but it's at least the 
> seventh time I
>saw the question on the list, perhaps a small page on the site in
>the "Getting Started" would help ?
> 
> 
> 
> Julien
> 
> 
> 
> 
> 
> 
> This message and any attachments (the "message") is
> intended solely for the addressees and is confidential. 
> If you receive this message in error, please delete it and 
> immediately notify the sender. Any use not in accord with 
> its purpose, any dissemination or disclosure, either whole 
> or partial, is prohibited except formal approval. The internet
> can not guarantee the integrity of this message. 
> BNP PARIBAS (and its subsidiaries) shall (will) not 
> therefore be liable for the message if modified. 
> 
> -
> 
> Ce message et toutes les pieces jointes (ci-apres le 
> "message") sont etablis a l'intention exclusive de ses 
> destinataires et sont confidentiels. Si vous recevez ce 
> message par erreur, merci de le detruire et d'en avertir 
> immediatement l'expediteur. Toute utilisation de ce 
> message non conforme a sa destination, toute diffusion 
> ou toute publication, totale ou partielle, est interdite, sauf 
> autorisation expresse. L'internet ne permettant pas 
> d'assurer l'integrite de ce message, BNP PARIBAS (et ses
> filiales) decline(nt) toute responsabilite au titre de ce 
> message, dans l'hypothese ou il aurait ete modifie.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Dependency of type property

2004-09-09 Thread Marco Tedone
Hi, is there a way to declare a dependency of type 'property'? The reason is
that it would be usefull to have a dependency of type property when using
Struts (and I think not only) for MessageResource bundles. Basically a
company may want to use always the same type of labels (already
internationalized) for all its sites. Instead of copying the same every
time, it would be nice to be able to declare a dependency and include it in
the war artifact.

Marco


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to schedule a nightly build in Maven

2004-09-09 Thread Emmanuel Venisse
The cruise control maven plugin generate the cruise control config file.

Emmanuel

- Original Message - 
From: <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Thursday, September 09, 2004 3:49 PM
Subject: RE: How to schedule a nightly build in Maven


>
> Hi'ya!
>
> At our company I've got a build server running CruiseControl over Maven
> without any Ant.
> It just uses the Mavenbuilder plugin - works like a charm.
>
> // Jan-Helge Bergesen, TMN Dept. AXXESSIT ASA | http://www.axxessit.no
>
> - Reply to All the Original Message -
> Author:  "Dinko Hadzic"
> To:"Maven Users List"
> Date:  09.09.2004 15:48:27
> Subject: RE: How to schedule a nightly build in Maven
>
> > CruiseControl seems like a good choice. It however requires having Ant
> > build scripts, which than again makes Maven unnecessary in this scenario
> > (nightly build system)..? Or am I wrong here?
> >
> > I see that Maven has a plugin for CruiseControl and vice versa, what are
> > the potential advantages of integrating these two tools?
> >
> > Please tolerate my newbie questions ;) What our J2EE project needs is a
> > continous build system tests which creates some kind of notification if
> > the build fails.
> >
> > Thanks for any help
> >
> >
> > -Original Message-
> > From: STRAYER, JON (SBCSI) [mailto:[EMAIL PROTECTED]
> > Sent: 9. september 2004 14:36
> > To: 'Maven Users List'
> > Subject: RE: How to schedule a nightly build in Maven
> >
> > We use CruiseControl for this.
> >
> > > -Original Message-
> > > From: Dinko Hadzic [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, September 09, 2004 7:22 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: How to schedule a nightly build in Maven
> > >
> > >
> > > Hi
> > >
> > >
> > >
> > > Is it possible to schedule a periodical nightly build of a
> > > J2EE project with Maven, and what is the best approach? Could
> > > you please give me some hints to get started?
> > >
> > >
> > >
> > > Is CruiseControl the tool I should be looking at, or does
> > > this functionality also exist within Maven?
> > >
> > >
> > >
> > > Thanks
> > >
> > > \Dinko
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Réf. : RE: How to schedule a nightly build in Maven

2004-09-09 Thread julien . kirch

Hi all



I know it's a "just contribute" remark but it's at least the seventh time I
   saw the question on the list, perhaps a small page on the site in
   the "Getting Started" would help ?



Julien






This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

-

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: setting up a maven public repository.

2004-09-09 Thread Carlos Sanchez
 

> -Original Message-
> From: Thompson, Bryan B. [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 09, 2004 2:59 PM
> To: Maven Users List
> Subject: RE: setting up a maven public repository.
> 
> Carlos,
> 
> Is the structure of the repository is just the same as the 
> local repository?

Yes

> 
> Is it exposed by HTTP or by some other protocol?

HTTP

> 
> I've been searching for documentation on this but I can't 
> seem to find anything.
> Is there someplace where all of this is spelled out?

Maybe in previous threads at
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
.org
or
http://news.gmane.org/gmane.comp.jakarta.turbine.maven.user

> 
> -bryan
> 
> -Original Message-
> From: Carlos Sanchez [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 03, 2004 4:16 PM
> To: 'Maven Users List'
> Subject: RE: setting up a maven public repository.
> 
> 
> Hi,
> 
> You can use your own repository just adding it to maven.repo.remote
> Syncronization with ibiblio is only offered to prominent projects and
> comunities, other ones have to check
> http://maven.apache.org/repository-upload.html.
> 
> Regards
> 
> Carlos Sanchez
> A Coruña, Spain
> 
> Oness Project
> http://oness.sourceforge.net
> 
> 
> > -Original Message-
> > From: Thompson, Bryan B. [mailto:[EMAIL PROTECTED]
> > Sent: Friday, September 03, 2004 8:02 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: setting up a maven public repository.
> > 
> > I'm curious what provision exists for
> > 
> > a) hosting a maven repository (for a project that produces 
> a number of
> >artifacts);
> > 
> > b) identifying which repository(s) should be used (e.g., in 
> the POM).
> > 
> > c) mirroring a hosted maven repository ala (a) to ibiblio 
> on a regular
> >basis.
> > 
> > Thanks,
> > 
> > -bryan
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to schedule a nightly build in Maven

2004-09-09 Thread Liu, Zhihai
You can use MavenBuilder in CC like this. I got this tip from this list.


  

 



-Original Message-
From: Dinko Hadzic [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 9:47 AM
To: Maven Users List
Subject: RE: How to schedule a nightly build in Maven


CruiseControl seems like a good choice. It however requires having Ant
build scripts, which than again makes Maven unnecessary in this scenario
(nightly build system)..? Or am I wrong here?

I see that Maven has a plugin for CruiseControl and vice versa, what are
the potential advantages of integrating these two tools?

Please tolerate my newbie questions ;) What our J2EE project needs is a
continous build system tests which creates some kind of notification if
the build fails.

Thanks for any help


-Original Message-
From: STRAYER, JON (SBCSI) [mailto:[EMAIL PROTECTED] 
Sent: 9. september 2004 14:36
To: 'Maven Users List'
Subject: RE: How to schedule a nightly build in Maven

We use CruiseControl for this.

> -Original Message-
> From: Dinko Hadzic [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 09, 2004 7:22 AM
> To: [EMAIL PROTECTED]
> Subject: How to schedule a nightly build in Maven
> 
> 
> Hi
> 
>  
> 
> Is it possible to schedule a periodical nightly build of a 
> J2EE project with Maven, and what is the best approach? Could 
> you please give me some hints to get started?
> 
>  
> 
> Is CruiseControl the tool I should be looking at, or does 
> this functionality also exist within Maven?
> 
>  
> 
> Thanks
> 
> \Dinko
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to schedule a nightly build in Maven

2004-09-09 Thread jan-helge . bergesen

Hi'ya!

At our company I've got a build server running CruiseControl over Maven
without any Ant.
It just uses the Mavenbuilder plugin - works like a charm.

// Jan-Helge Bergesen, TMN Dept. AXXESSIT ASA | http://www.axxessit.no

- Reply to All the Original Message -
Author:  "Dinko Hadzic"
To:"Maven Users List"
Date:  09.09.2004 15:48:27
Subject: RE: How to schedule a nightly build in Maven

> CruiseControl seems like a good choice. It however requires having Ant
> build scripts, which than again makes Maven unnecessary in this scenario
> (nightly build system)..? Or am I wrong here?
>
> I see that Maven has a plugin for CruiseControl and vice versa, what are
> the potential advantages of integrating these two tools?
>
> Please tolerate my newbie questions ;) What our J2EE project needs is a
> continous build system tests which creates some kind of notification if
> the build fails.
>
> Thanks for any help
>
>
> -Original Message-
> From: STRAYER, JON (SBCSI) [mailto:[EMAIL PROTECTED]
> Sent: 9. september 2004 14:36
> To: 'Maven Users List'
> Subject: RE: How to schedule a nightly build in Maven
>
> We use CruiseControl for this.
>
> > -Original Message-
> > From: Dinko Hadzic [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 09, 2004 7:22 AM
> > To: [EMAIL PROTECTED]
> > Subject: How to schedule a nightly build in Maven
> >
> >
> > Hi
> >
> >
> >
> > Is it possible to schedule a periodical nightly build of a
> > J2EE project with Maven, and what is the best approach? Could
> > you please give me some hints to get started?
> >
> >
> >
> > Is CruiseControl the tool I should be looking at, or does
> > this functionality also exist within Maven?
> >
> >
> >
> > Thanks
> >
> > \Dinko
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: What about distributions at ibiblio?

2004-09-09 Thread Carlos Sanchez
No, add your repo to maven.repo.remote in project.properties and distribute
it with your pom.

Regards

Carlos Sanchez
A Coruña, Spain
http://www.jroller.com/page/carlossg/Weblog

Oness Project
http://oness.sourceforge.net


> -Original Message-
> From: Thompson, Bryan B. [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 09, 2004 2:59 PM
> To: Maven Users List
> Subject: RE: What about distributions at ibiblio?
> 
> Can maven.repo.repository be added to in the POM?  I.e., so 
> that I can distribute a POM that knows where it expects to 
> find various artifacts for our project rather than relying on 
> people having to edit their own build.properties file?
> 
> Thanks,
> 
> -bryan
> 
> -Original Message-
> From: Carlos Sanchez [mailto:[EMAIL PROTECTED]
> Sent: Sunday, September 05, 2004 5:15 PM
> To: 'Maven Users List'
> Subject: RE: What about distributions at ibiblio?
> 
> 
> Hi,
> 
> You can always create your own repository and upload there 
> the files you
> need. Then add it to maven.repo.remote property and that's all.
> 
> There are already zips in the repo so I don't see any 
> problem, but as long
> as they are apache projects you'll have to ask the project 
> team to upload
> them to apache repository.
> 
> 
> Regards
> 
> Carlos Sanchez
> A Coruña, Spain
> 
> Oness Project
> http://oness.sourceforge.net
> 
> 
> > -Original Message-
> > From: David Jencks [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, September 05, 2004 10:41 PM
> > To: Maven Users List
> > Subject: What about distributions at ibiblio?
> > 
> > I have been working with a couple of rather large projects
> > that need to be deployed and tested in several environments, 
> > and I've come up with a method that I find very convenient.  
> > However, for widespread use it may need some uploads to the 
> > maven repo, so I'd like some guidance on where various 
> > artifacts might go or if there is another way to get the 
> > artifacts needed.
> > 
> > The idea is to have a project for each environment/app server:
> > 
> > installations/
> >-tomcat4
> >-tomcat5
> >-geronimo
> > etc.
> > 
> > The maven.xml for each of these projects unpacks the
> > environment from a copy in the local maven repo, deploys the 
> > application ( the "large project" ) and if possible starts 
> > the server and runs integration tests.
> > 
> > Running "maven clean default" assures that the integration
> > tests are run in a clean environment.
> > 
> > For geronimo we are building a suitable jar that can be
> > unpacked yielding a runnable server.
> > 
> > For tomcat, there are suitable zip files at apache, but they
> > are not in the ibiblio repository.
> > e.g.
> > 
> http://apache.gnusoft.net/jakarta/tomcat-5/v5.0.28/bin/jakarta-tomcat
> > -5.0.28.zip
> > 
> http://apache.gnusoft.net/jakarta/tomcat-4/v4.1.30/bin/jakarta-tomcat
> > -4.1.30.zip
> > 
> > So...
> > Is there some way to use the apache download site as a maven
> > repository?
> > If not, should these zip files go into ibiblio as 
> > distributions or zips?
> > 
> > And, what would I need to do to get these uploaded to ibiblio?
> > 
> > many thanks,
> > david jencks
> > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Eclipse Plugin

2004-09-09 Thread Christian Mouttet
Thank's!

Am Donnerstag, 9. September 2004 15:30 schrieb 
[EMAIL PROTECTED]:
> It is not a real problem if you don't have cactus test.
>
> But you can to install the cactus-maven-plugin :
> http://jakarta.apache.org/cactus/integration/maven/installing.html
>
> Nicolas,

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to schedule a nightly build in Maven

2004-09-09 Thread Dinko Hadzic
CruiseControl seems like a good choice. It however requires having Ant
build scripts, which than again makes Maven unnecessary in this scenario
(nightly build system)..? Or am I wrong here?

I see that Maven has a plugin for CruiseControl and vice versa, what are
the potential advantages of integrating these two tools?

Please tolerate my newbie questions ;) What our J2EE project needs is a
continous build system tests which creates some kind of notification if
the build fails.

Thanks for any help


-Original Message-
From: STRAYER, JON (SBCSI) [mailto:[EMAIL PROTECTED] 
Sent: 9. september 2004 14:36
To: 'Maven Users List'
Subject: RE: How to schedule a nightly build in Maven

We use CruiseControl for this.

> -Original Message-
> From: Dinko Hadzic [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 09, 2004 7:22 AM
> To: [EMAIL PROTECTED]
> Subject: How to schedule a nightly build in Maven
> 
> 
> Hi
> 
>  
> 
> Is it possible to schedule a periodical nightly build of a 
> J2EE project with Maven, and what is the best approach? Could 
> you please give me some hints to get started?
> 
>  
> 
> Is CruiseControl the tool I should be looking at, or does 
> this functionality also exist within Maven?
> 
>  
> 
> Thanks
> 
> \Dinko
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



site:deploy

2004-09-09 Thread jeff mutonho
Hi guys
If  I wanna do a site:deploy for all my subprojects , do i have to add 
   in each of the subproject's project.xml?  and then create the 
deploy directories manually ?
 
jeff mutonho


-
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

Re: Eclipse Plugin

2004-09-09 Thread Nicolas . CHALUMEAU
It is not a real problem if you don't have cactus test.

But you can to install the cactus-maven-plugin :
http://jakarta.apache.org/cactus/integration/maven/installing.html

Nicolas,





Christian Mouttet <[EMAIL PROTECTED]>
09/09/2004 15:23
Veuillez répondre à "Maven Users List"

 
Pour :  [EMAIL PROTECTED]
cc : 
Objet : Eclipse Plugin


Hi,

when I run maven eclipse:generate-classpath I do get this output:
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0

Tag library requested that is not present: 'cactus' in plugin: 
'maven-eclipse-plugin-1.8'
build:start:

eclipse:generate-classpath:
[echo] Creating /home/cmouttet/workspace/xyz/.classpath ...
Plugin 'cactus-maven' in project 'xyz' is not available
[echo] Setting default output directory to target/classes
BUILD SUCCESSFUL
Total time: 4 seconds
Finished at: Thu Sep 09 15:19:32 CEST 2004

The file .classpath is generated correctly. What's going wrong?

-Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Eclipse Plugin

2004-09-09 Thread Christian Mouttet
Hi,

when I run maven eclipse:generate-classpath I do get this output:
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0

Tag library requested that is not present: 'cactus' in plugin: 
'maven-eclipse-plugin-1.8'
build:start:

eclipse:generate-classpath:
[echo] Creating /home/cmouttet/workspace/xyz/.classpath ...
Plugin 'cactus-maven' in project 'xyz' is not available
[echo] Setting default output directory to target/classes
BUILD SUCCESSFUL
Total time: 4 seconds
Finished at: Thu Sep 09 15:19:32 CEST 2004

The file .classpath is generated correctly. What's going wrong?

-Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: setting up a maven public repository.

2004-09-09 Thread Thompson, Bryan B.
Carlos,

Is the structure of the repository is just the same as the local repository?

Is it exposed by HTTP or by some other protocol?

I've been searching for documentation on this but I can't seem to find
anything.
Is there someplace where all of this is spelled out?

-bryan

-Original Message-
From: Carlos Sanchez [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 03, 2004 4:16 PM
To: 'Maven Users List'
Subject: RE: setting up a maven public repository.


Hi,

You can use your own repository just adding it to maven.repo.remote
Syncronization with ibiblio is only offered to prominent projects and
comunities, other ones have to check
http://maven.apache.org/repository-upload.html.

Regards

Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net


> -Original Message-
> From: Thompson, Bryan B. [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 03, 2004 8:02 PM
> To: '[EMAIL PROTECTED]'
> Subject: setting up a maven public repository.
> 
> I'm curious what provision exists for
> 
> a) hosting a maven repository (for a project that produces a number of
>artifacts);
> 
> b) identifying which repository(s) should be used (e.g., in the POM).
> 
> c) mirroring a hosted maven repository ala (a) to ibiblio on a regular
>basis.
> 
> Thanks,
> 
> -bryan
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: What about distributions at ibiblio?

2004-09-09 Thread Thompson, Bryan B.
Can maven.repo.repository be added to in the POM?  I.e., so that I can
distribute a POM that knows where it expects to find various artifacts
for our project rather than relying on people having to edit their own
build.properties file?

Thanks,

-bryan

-Original Message-
From: Carlos Sanchez [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 05, 2004 5:15 PM
To: 'Maven Users List'
Subject: RE: What about distributions at ibiblio?


Hi,

You can always create your own repository and upload there the files you
need. Then add it to maven.repo.remote property and that's all.

There are already zips in the repo so I don't see any problem, but as long
as they are apache projects you'll have to ask the project team to upload
them to apache repository.


Regards

Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net


> -Original Message-
> From: David Jencks [mailto:[EMAIL PROTECTED]
> Sent: Sunday, September 05, 2004 10:41 PM
> To: Maven Users List
> Subject: What about distributions at ibiblio?
> 
> I have been working with a couple of rather large projects
> that need to be deployed and tested in several environments, 
> and I've come up with a method that I find very convenient.  
> However, for widespread use it may need some uploads to the 
> maven repo, so I'd like some guidance on where various 
> artifacts might go or if there is another way to get the 
> artifacts needed.
> 
> The idea is to have a project for each environment/app server:
> 
> installations/
>-tomcat4
>-tomcat5
>-geronimo
> etc.
> 
> The maven.xml for each of these projects unpacks the
> environment from a copy in the local maven repo, deploys the 
> application ( the "large project" ) and if possible starts 
> the server and runs integration tests.
> 
> Running "maven clean default" assures that the integration
> tests are run in a clean environment.
> 
> For geronimo we are building a suitable jar that can be
> unpacked yielding a runnable server.
> 
> For tomcat, there are suitable zip files at apache, but they
> are not in the ibiblio repository.
> e.g.
> http://apache.gnusoft.net/jakarta/tomcat-5/v5.0.28/bin/jakarta-tomcat
> -5.0.28.zip
> http://apache.gnusoft.net/jakarta/tomcat-4/v4.1.30/bin/jakarta-tomcat
> -4.1.30.zip
> 
> So...
> Is there some way to use the apache download site as a maven
> repository?
> If not, should these zip files go into ibiblio as 
> distributions or zips?
> 
> And, what would I need to do to get these uploaded to ibiblio?
> 
> many thanks,
> david jencks
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to schedule a nightly build in Maven

2004-09-09 Thread STRAYER, JON (SBCSI)
We use CruiseControl for this.

> -Original Message-
> From: Dinko Hadzic [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 09, 2004 7:22 AM
> To: [EMAIL PROTECTED]
> Subject: How to schedule a nightly build in Maven
> 
> 
> Hi
> 
>  
> 
> Is it possible to schedule a periodical nightly build of a 
> J2EE project with Maven, and what is the best approach? Could 
> you please give me some hints to get started?
> 
>  
> 
> Is CruiseControl the tool I should be looking at, or does 
> this functionality also exist within Maven?
> 
>  
> 
> Thanks
> 
> \Dinko
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to schedule a nightly build in Maven

2004-09-09 Thread Dinko Hadzic
Hi

 

Is it possible to schedule a periodical nightly build of a J2EE project
with Maven, and what is the best approach? Could you please give me some
hints to get started?

 

Is CruiseControl the tool I should be looking at, or does this
functionality also exist within Maven?

 

Thanks

\Dinko



Re: Writing documentation with Maven

2004-09-09 Thread Andreas Guther

1. What format do you use to write documentation?
  A. xdoc
4. What tool do you use to write the docs?
  A. notepad / vi and similar
 

Eclipse and XmlBuddy
3. Would you like to use another format instead of answered in (1) and why?
 

docBook, since more layout features available.
Regards,
Andreas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Using Mevenide on NetBeans 4.0 with multiprojects using multiple source directories per project

2004-09-09 Thread Philippe Monnet
Today I decided to try out the new version of Mevenide for NetBeans 4.0
beta 1.
It is a very cool plug-in: once you open the root project, Mevenide
automatically parses the subprojects and "mounts" them in the IDE and
sets the classpaths based on declared dependencies. This greatly makes
life easier for Maven projects especially when using the Multiproject
pattern. Kudos to the team!
However when I use the AndroMDA tool , which uses multiprojects and use
2 types of source directories per project (one for always-re-generated
code , and one for generated but to-be-tailored code), Mevenide only
picks up the source directory declared in the project.xml (seems
logical). I'm trying to figure out how to setup Maven/Mevenide so that
both directories will be "mounted" in NetBeans.
Does anyone have experience with this?
Thanks in advance.
Philippe
PS - In case you are not familiar with AndroMDA ( 
http://team.andromda.org), AndroMDA uses subprojects and XDoclet to 
generate
various artifacts like EJBs, common components, etc.
If I have a root project called mysvc in C:\mysvc, the full directory
structure looks as follow:

project.properties  - root
project.xml
.\ejb  - subproject for the EJB components
.\ejb\project.xml
.\ejb\src\java   --contains source code to be tailored by
the developer (generated only once by AndroMDA through XDoclet )
.\ejb\src\java\org\mddtut\mddtut2\MySvcBeanImpl.java
.\ejb\target
.\ejb\target\classes
...
.\ejb\target\classes\org\mddtut\mddtut2\MySvcBean.class
.\ejb\target\classes\org\mddtut\mddtut2\MySvcBeanImpl.class
...
.\ejb\target\src\- contains source code always re-/generated
by AndroMDA through XDoclet
...
.\ejb\target\src\org\mddtut\mddtut2\MySvcBean.java
...
.\ejb\target\xdoclet\
.\mda  - subproject containing the UML model
driving the AndroMDA generation
.\mda\project.xml
.\mda\src\uml\mddtut2a-model.xmi
..
If you look at the ejb subproject, you will notice the 2 source code
directories:
.\ejb\src\java   --contains source code to be tailored by
the developer (generated only once by AndroMDA through XDoclet )
.\ejb\target\src\- contains source code always re-/generated
by AndroMDA through XDoclet
In .\ejb\project.xml, the sourceDirectory points to src\java.
However, since we also have code in target\java, that directory does not
get mounted in NetBeans.
I have tried to add a  section but I must not know
how to set that up properly:

  src/java
  

  MySvcBean
  
target/src/**/*.java
  

  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven

2004-09-09 Thread Marco Tedone
Yes! I added the dependency and it works. However, Pierre, for your
reference, on ibiblio the 1.2.1 version is not there. I've used 1.2 and it
seems it works nicely


- Original Message - 
From: "Pierre-Yves Chauveau" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Thursday, September 09, 2004 11:13 AM
Subject: RE: Running strutsconfigxml subtask within the xdoclet:webdoclet
from Maven


So you're missing the apache module one :
  
xdoclet
xdoclet-apache-module
1.2.1
http://xdoclet.sourceforge.net



-Message d'origine-
De : Marco Tedone [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 9 septembre 2004 12:11
À : Maven Users List
Objet : Re: Running strutsconfigxml subtask within the xdoclet:webdoclet
from Maven

These are the xdoclet dependencies (declared in the parent project):


xdoclet
xdoclet
1.2




xdoclet
xdoclet-ejb-module
1.2
http://xdoclet.sf.net/



xjavadoc
xjavadoc
1.0.2
http://xdoclet.sf.net/



xdoclet
xdoclet-jmx-module
1.2
http://xdoclet.sf.net/



xdoclet
xdoclet-web-module
1.2
http://xdoclet.sf.net/



xdoclet
xdoclet-jboss-module
1.2
http://xdoclet.sf.net/



xdoclet
maven-xdoclet-plugin
1.2
plugin
http://xdoclet.sf.net/



This is then declared in my 'war' subproject:


   struts
   struts
   1.1
   
true
   
  





- Original Message - 
From: "Mark Lowe" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Thursday, September 09, 2004 11:02 AM
Subject: Re: Running strutsconfigxml subtask within the xdoclet:webdoclet
from Maven


> Have you included the xdoclet-apache-module stuff in your dependencies?
>
>
> On 9 Sep 2004, at 11:25, Marco Tedone wrote:
>
> > Hi, I've got the following pregoal in maven.xml
> >
> >
> > 
> >   
> >  
> >
> > which, you know better than me, executes webdoclet before running the
> > war
> > goal. The web.xml gets generated, ok. Now I want to generate also the
> > struts-related configuration files. From XDoclet I learn that there is
> > a
> > nested element for ,  that generates the
> > struts-related files.
> >
> > How could I tell to Maven to run also the  nested
> > element
> > when running webdoclet? I had a look on the internet, and tried to
> > specify
> > the following properties:
> >
> > maven.xdoclet.webdoclet.strutsconfigxml.0=true
> > maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
> > maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1
> > maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=src/merge/struts
> >
> >
> > But nothing happens.
> >
> > I had a look also at the mailing list archives but I didn't find
> > anything
> > which could help. Could anyone help?
> >
> > Thanks,
> >
> > Marco Tedone
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: java:jar-resource copy failure

2004-09-09 Thread Andreas.Ebbert
Hi,

> -Original Message-
> From: ext Brett Porter [mailto:[EMAIL PROTECTED]

> target path should just be META-INF. It is relative to 
> maven.build.dest.

now that you mention it - it's so obvious!!! Interesting, that it worked with RC1, 
which I was using previously.

> You can file a bug in JIRA so that Maven can figure out that you've
> done this though - there should be a better error message.

No that I understood the problem, I actually don't know what could be better in the 
error. My problem was, that I believed in a maven bug, since it worked previously. 
Shame on me.

 _ __  _  _
//\ndreas.[|-bbert(a)[|\|okia.com
   `-
   Andreas Ebbert
   Software Design Engineer - Nokia Networks OSS 
   gsm: +49-177-941-3928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



SOLVED:Re:Ref.:Re:Copying some resources to the same directory of compiled classes

2004-09-09 Thread jeff mutonho
This did it
/com/mtk/support/logging

jeff mutonho <[EMAIL PROTECTED]> wrote:Ok let me break it down further:
This is how the Support_Logging subproject looks like 

/Support_Logging/com/mtk/support/logging 
|__LogConstants.java
|__LogLevels.java
|__BusMsgs.xml
|__GeoMsgs.xml

and what I want to get is

/Support_Logging/target/classes/com/mtk/support/logging 
|__LogConstants.class
|__LogLevels.class
|__BusMsgs.xml
|__GeoMsgs.xml

and NOT 


/Support_Logging/target/classes/com/mtk/support/logging 
|__BusMsgs.xml |__LogConstants.class
|__GeoMsgs.xml |__LogLevels.class




The XML resources are indeed being copied , but to the wrong place(for me).I want them 
to end up in the same directory as the compiled classes , i.e in 
"target/classes/com/mtk/support/logging" and not in "target/classes/"

I think the question is how do i tell maven to copy the resources to the 
target/classes/com/mtk/support/logging directory and not the 
target/classes/ directory:)


jeff mutonho


[EMAIL PROTECTED] wrote:
It is normal :) with the directory value you use that meen 
${basedir}/com/mtk/support/logging/**/*.xml are copy to 
/target/classes/**/*.xml
The dir structure of the file who are include is the same that the dir 
structure after the "directory" value.


${basedir}


${basedir}

**/*.xml


**/*.java






I think you should'nt use ${basedir} but place your xml file in a sub 
directory like ie src/main/resources

Nicolas


jeff mutnho




jeff mutonho 
08/09/2004 15:56
Veuillez répondre à "Maven Users List"


Pour : Maven Users List 
cc : 
Objet : Re: Copying some resources to the same directory of compiled classes


yes i defined the following 

${basedir}


${basedir}/com/mtk/support/logging


**/*.xml



**/*.java





but the're being copied to the /target/classes directory and not the 

/target/classes/com/mtk/support/logging , where I want them to be.


jeff mutnho


[EMAIL PROTECTED] wrote:
Did you define in your build section something like :


src/main/resources/someresources

**/*.xml



and your xml are in 
src/main/resources/someresources/com/mtk/support/logging

Nicolas





jeff mutonho 
08/09/2004 15:19
Veuillez répondre à "Maven Users List"


Pour : Maven Users List 
cc : 
Objet : Copying some resources to the same directory of compiled classes


Hi

I've got some resources(xml files) that I wish to be copied to the 
destination directory where my compiled classes are placed eg if the 
classes are in 
/target/classes/com/mtk/support/logging , 
then the xml files must also be copied to the same directory(.ie logging ) 

and not 
/target/classes

I've tried specifying in the element , 
but that doesn't seem to work.


jeff mutonho


-
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!

Re: java:jar-resource copy failure

2004-09-09 Thread jeff mutonho
Hi Andreas
The problem is ${maven.build.dest}.Take it out and substitute with the the actual path 
from  /target/classes.../META-INF.I had the same problem and that's how i got mine to 
work.If you check my post about having resources copied the same directory as the 
classes.
 
jeff mutonho

[EMAIL PROTECTED] wrote:
Hi,

I have a strange problem, perhaps you know, what I can do about it. I happens as well 
on w2k as on red hat. When there are resources defined in the project.xml and the 
ejb:install goal is invoked, the target path for the resources is duplicated. Any idea 
what the reason for that strange behaviour is? I don't want to quote the whole output 
from 'maven -X ...' yet, maybe someone encountered also the same problem once and nows 
how to deal with it.

resource definition from project.xml:



${basedir}/j2eesdk/1.4.01/src/deployment/ejb/META-INF
${maven.build.dest}/META-INF

*.xml





Starting the reactor...
Our processing order:
OSS/J Common API Reference Implementation
+
| Building OSS/J Common API Reference Implementation
| Memory: 2M/3M
+
build:start:
ri:
build:start:
ejb:init:
java:prepare-filesystem:
[mkdir] Created dir: C:\Users\My 
Development\ossj\java.net\project\ossj\common\ri\target\classes
java:compile:
[echo] Compiling to C:\Users\My 
Development\ossj\java.net\project\ossj\common\ri/target/classes
[javac] Compiling 101 source files to C:\Users\My 
Development\ossj\java.net\project\ossj\common\ri\target\classes
java:jar-resources:
Copying 1 file to C:\Users\My 
Development\ossj\java.net\project\ossj\common\ri\target\classes\C:\Users\My 
Development\ossj\java.net\project\ossj\common\ri\target\classes\META-INF
BUILD FAILED
File.. C:\Users\My Development\ossj\java.net\project\ossj\common\maven.xml
Element... m:reactor
Line.. 21
Column 127
Unable to obtain goal [ejb:init] -- C:\Documents and 
Settings\aebbert\.maven\cache\maven-java-plugin-1.4\plugin.jelly:149:38: Failed to 
copy C:\USERS\My 
Development\ossj\java.net\project\ossj\common\ri\j2eesdk\1.4.01\src\deployment\ejb\META-INF\sun-ejb-jar.xml
 to C:\Users\My 
Development\ossj\java.net\project\ossj\common\ri\target\classes\C:\Users\My 
Development\ossj\java.net\project\ossj\common\ri\target\classes\META-INF\sun-ejb-jar.xml
 due to C:\Users\My 
Development\ossj\java.net\project\ossj\common\ri\target\classes\C:\Users\My 
Development\ossj\java.net\project\ossj\common\ri\target\classes\META-INF\sun-ejb-jar.xml
 (The filename, directory name, or volume label syntax is incorrect)
Total time: 11 seconds
Finished at: Thu Sep 09 02:54:06 CEST 2004

Andreas Ebbert 
Software Design Engineer - Nokia Networks OSS 
gsm: +49-177-9413928, fax: +49-211-94123838 
Heltorfer Straße 1, 40472 Düsseldorf, Germany

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.

RE: Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven

2004-09-09 Thread Pierre-Yves Chauveau
So you're missing the apache module one :
  
xdoclet
xdoclet-apache-module
1.2.1
http://xdoclet.sourceforge.net
   


-Message d'origine-
De : Marco Tedone [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 9 septembre 2004 12:11
À : Maven Users List
Objet : Re: Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven

These are the xdoclet dependencies (declared in the parent project):


xdoclet
xdoclet
1.2




xdoclet
xdoclet-ejb-module
1.2
http://xdoclet.sf.net/



xjavadoc
xjavadoc
1.0.2
http://xdoclet.sf.net/



xdoclet
xdoclet-jmx-module
1.2
http://xdoclet.sf.net/



xdoclet
xdoclet-web-module
1.2
http://xdoclet.sf.net/



xdoclet
xdoclet-jboss-module
1.2
http://xdoclet.sf.net/



xdoclet
maven-xdoclet-plugin
1.2
plugin
http://xdoclet.sf.net/



This is then declared in my 'war' subproject:


   struts
   struts
   1.1
   
true
   
  





- Original Message - 
From: "Mark Lowe" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Thursday, September 09, 2004 11:02 AM
Subject: Re: Running strutsconfigxml subtask within the xdoclet:webdoclet
from Maven


> Have you included the xdoclet-apache-module stuff in your dependencies?
>
>
> On 9 Sep 2004, at 11:25, Marco Tedone wrote:
>
> > Hi, I've got the following pregoal in maven.xml
> >
> >
> > 
> >   
> >  
> >
> > which, you know better than me, executes webdoclet before running the
> > war
> > goal. The web.xml gets generated, ok. Now I want to generate also the
> > struts-related configuration files. From XDoclet I learn that there is
> > a
> > nested element for ,  that generates the
> > struts-related files.
> >
> > How could I tell to Maven to run also the  nested
> > element
> > when running webdoclet? I had a look on the internet, and tried to
> > specify
> > the following properties:
> >
> > maven.xdoclet.webdoclet.strutsconfigxml.0=true
> > maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
> > maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1
> > maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=src/merge/struts
> >
> >
> > But nothing happens.
> >
> > I had a look also at the mailing list archives but I didn't find
> > anything
> > which could help. Could anyone help?
> >
> > Thanks,
> >
> > Marco Tedone
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven

2004-09-09 Thread Marco Tedone
These are the xdoclet dependencies (declared in the parent project):


xdoclet
xdoclet
1.2




xdoclet
xdoclet-ejb-module
1.2
http://xdoclet.sf.net/



xjavadoc
xjavadoc
1.0.2
http://xdoclet.sf.net/



xdoclet
xdoclet-jmx-module
1.2
http://xdoclet.sf.net/



xdoclet
xdoclet-web-module
1.2
http://xdoclet.sf.net/



xdoclet
xdoclet-jboss-module
1.2
http://xdoclet.sf.net/



xdoclet
maven-xdoclet-plugin
1.2
plugin
http://xdoclet.sf.net/



This is then declared in my 'war' subproject:


   struts
   struts
   1.1
   
true
   
  





- Original Message - 
From: "Mark Lowe" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Thursday, September 09, 2004 11:02 AM
Subject: Re: Running strutsconfigxml subtask within the xdoclet:webdoclet
from Maven


> Have you included the xdoclet-apache-module stuff in your dependencies?
>
>
> On 9 Sep 2004, at 11:25, Marco Tedone wrote:
>
> > Hi, I've got the following pregoal in maven.xml
> >
> >
> > 
> >   
> >  
> >
> > which, you know better than me, executes webdoclet before running the
> > war
> > goal. The web.xml gets generated, ok. Now I want to generate also the
> > struts-related configuration files. From XDoclet I learn that there is
> > a
> > nested element for ,  that generates the
> > struts-related files.
> >
> > How could I tell to Maven to run also the  nested
> > element
> > when running webdoclet? I had a look on the internet, and tried to
> > specify
> > the following properties:
> >
> > maven.xdoclet.webdoclet.strutsconfigxml.0=true
> > maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
> > maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1
> > maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=src/merge/struts
> >
> >
> > But nothing happens.
> >
> > I had a look also at the mailing list archives but I didn't find
> > anything
> > which could help. Could anyone help?
> >
> > Thanks,
> >
> > Marco Tedone
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven

2004-09-09 Thread Marco Tedone
Yes, I've changed them (still nothing) :(
- Original Message - 
From: "M.-Leander Reimer" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Thursday, September 09, 2004 11:02 AM
Subject: Re: Running strutsconfigxml subtask within the xdoclet:webdoclet
from Maven


> And I think 2 of your properties are incorrect:
>
> maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
> maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1
>
> should be
>
> maven.xdoclet.webdoclet.strutsconfigxml.0.validateXML=true
> maven.xdoclet.webdoclet.strutsconfigxml.0.Version=1.1
>
>
> Leander
>
>
> Pierre-Yves Chauveau schrieb:
>
> > Did you put the dependency of the apache xdoclet module in your
project.xml.
> > If not, nothing happen and you won't know about that it's missing :-(
> >
> > Pierre-Yves.
> > -Message d'origine-
> > De : Marco Tedone [mailto:[EMAIL PROTECTED]
> > Envoyé : jeudi 9 septembre 2004 11:26
> > À : Maven-users
> > Objet : Running strutsconfigxml subtask within the xdoclet:webdoclet
from Maven
> >
> > Hi, I've got the following pregoal in maven.xml
> >
> >
> > 
> >   
> >  
> >
> > which, you know better than me, executes webdoclet before running the
war
> > goal. The web.xml gets generated, ok. Now I want to generate also the
> > struts-related configuration files. From XDoclet I learn that there is a
> > nested element for ,  that generates the
> > struts-related files.
> >
> > How could I tell to Maven to run also the  nested
element
> > when running webdoclet? I had a look on the internet, and tried to
specify
> > the following properties:
> >
> > maven.xdoclet.webdoclet.strutsconfigxml.0=true
> > maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
> > maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1
> > maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=src/merge/struts
> >
> >
> > But nothing happens.
> >
> > I had a look also at the mailing list archives but I didn't find
anything
> > which could help. Could anyone help?
> >
> > Thanks,
> >
> > Marco Tedone
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven

2004-09-09 Thread Mark Lowe
Have you included the xdoclet-apache-module stuff in your dependencies?
On 9 Sep 2004, at 11:25, Marco Tedone wrote:
Hi, I've got the following pregoal in maven.xml

  
 
which, you know better than me, executes webdoclet before running the 
war
goal. The web.xml gets generated, ok. Now I want to generate also the
struts-related configuration files. From XDoclet I learn that there is 
a
nested element for ,  that generates the
struts-related files.

How could I tell to Maven to run also the  nested 
element
when running webdoclet? I had a look on the internet, and tried to 
specify
the following properties:

maven.xdoclet.webdoclet.strutsconfigxml.0=true
maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1
maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=src/merge/struts
But nothing happens.
I had a look also at the mailing list archives but I didn't find 
anything
which could help. Could anyone help?

Thanks,
Marco Tedone
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven

2004-09-09 Thread M.-Leander Reimer
And I think 2 of your properties are incorrect:
maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1
should be
maven.xdoclet.webdoclet.strutsconfigxml.0.validateXML=true
maven.xdoclet.webdoclet.strutsconfigxml.0.Version=1.1
Leander
Pierre-Yves Chauveau schrieb:
Did you put the dependency of the apache xdoclet module in your project.xml.
If not, nothing happen and you won't know about that it's missing :-(
Pierre-Yves.
-Message d'origine-
De : Marco Tedone [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 9 septembre 2004 11:26
À : Maven-users
Objet : Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven

Hi, I've got the following pregoal in maven.xml

  
 
which, you know better than me, executes webdoclet before running the war
goal. The web.xml gets generated, ok. Now I want to generate also the
struts-related configuration files. From XDoclet I learn that there is a
nested element for ,  that generates the
struts-related files.
How could I tell to Maven to run also the  nested element
when running webdoclet? I had a look on the internet, and tried to specify
the following properties:
maven.xdoclet.webdoclet.strutsconfigxml.0=true
maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1
maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=src/merge/struts
But nothing happens.
I had a look also at the mailing list archives but I didn't find anything
which could help. Could anyone help?
Thanks,
Marco Tedone
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven

2004-09-09 Thread Pierre-Yves Chauveau
Did you put the dependency of the apache xdoclet module in your project.xml.
If not, nothing happen and you won't know about that it's missing :-(

Pierre-Yves.
-Message d'origine-
De : Marco Tedone [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 9 septembre 2004 11:26
À : Maven-users
Objet : Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven

Hi, I've got the following pregoal in maven.xml



  
 

which, you know better than me, executes webdoclet before running the war
goal. The web.xml gets generated, ok. Now I want to generate also the
struts-related configuration files. From XDoclet I learn that there is a
nested element for ,  that generates the
struts-related files.

How could I tell to Maven to run also the  nested element
when running webdoclet? I had a look on the internet, and tried to specify
the following properties:

maven.xdoclet.webdoclet.strutsconfigxml.0=true
maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1
maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=src/merge/struts


But nothing happens.

I had a look also at the mailing list archives but I didn't find anything
which could help. Could anyone help?

Thanks,

Marco Tedone


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Running strutsconfigxml subtask within the xdoclet:webdoclet from Maven

2004-09-09 Thread Marco Tedone
Hi, I've got the following pregoal in maven.xml



  
 

which, you know better than me, executes webdoclet before running the war
goal. The web.xml gets generated, ok. Now I want to generate also the
struts-related configuration files. From XDoclet I learn that there is a
nested element for ,  that generates the
struts-related files.

How could I tell to Maven to run also the  nested element
when running webdoclet? I had a look on the internet, and tried to specify
the following properties:

maven.xdoclet.webdoclet.strutsconfigxml.0=true
maven.xdoclet.webdoclet.strutsconfigxml.0.validatexml=true
maven.xdoclet.webdoclet.strutsconfigxml.0.version=1.1
maven.xdoclet.webdoclet.strutsconfigxml.0.mergeDir=src/merge/struts


But nothing happens.

I had a look also at the mailing list archives but I didn't find anything
which could help. Could anyone help?

Thanks,

Marco Tedone


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven and JNLP plugin

2004-09-09 Thread Emmanuel Venisse
OK, I think we have a bug.

The jardiff mode convert all non-snapshot artefact to
dependencyName__VdependencyVersion.
So, only snapshot jar must be put into the version.xml file when you use the
jardiff mode.
Can you open an issue (http://jira.codehaus.org/browse/MPJNLP) and
eventually purpose a patch.

Emmanuel

- Original Message - 
From: "Kevin S. Clarke" <[EMAIL PROTECTED]>
To: "Emmanuel Venisse" <[EMAIL PROTECTED]>
Cc: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 08, 2004 8:24 PM
Subject: Re: Maven and JNLP plugin


> Hi,
>
> I'm using plugin version 1.4.1.
>
> I have jardiff set for true.
>
> Thanks, Kevin
>
>
> On Wed, 8 Sep 2004 10:47:38 +0200, Emmanuel Venisse
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > What is your jnlp plugin version?
> >
> > Do you define maven.jnlp.jardiff property?
> >
> > Emmanuel
> >
> >
> >
> > - Original Message -
> > From: "Kevin S. Clarke" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, September 08, 2004 1:10 AM
> > Subject: Maven and JNLP plugin
> >
> > > Hi,
> > >
> > > I'm new to the JNLP plugin and I do not seem to be able to figure out
> > > what it is doing.  I have the following in my project.properties:
> > >
> > > maven.jnlp.usejarversions=true
> > > maven.jnlp.signjar.store=/home/kevin/.keystore
> > > maven.jnlp.signjar.storepass=
> > > maven.jnlp.signjar.alias=medlane
> > >
> > > When I run "maven jnlp", the jars build and get signed, but the jars
> > > that are left in the target/jnlp directory have names like
> > > medlane__V0.0.1.jar rather than medlane-0.0.1.jar (which is what they
> > > are called in the target/jnlp_temp directory).
> > >
> > > The version.xml file that get created and left in target/jnlp has
sections
> > like:
> > >
> > >   
> > > 
> > >   medlane-0.0.1.jar
> > >   0.0.1
> > > 
> > > medlane-0.0.1.jar
> > >   
> > >
> > > I'm new to JNLP too (used it once about a year and a half ago), but it
> > > looks like there is some disjunct here.  I've tried it without
> > > usejarversions too and I get the same jar names in the target/jnlp
> > > directory just no version.xml file.
> > >
> > > Any thoughts on what I'm doing wrong?
> > >
> > > Thanks, Kevin
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: switch compiler debug on/off in Java

2004-09-09 Thread Emmanuel Venisse
Hi,

Try this code :




maven.compile.debug=${debugMode}



Emmanuel

- Original Message - 
From: "Gunter Matella" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Thursday, September 09, 2004 10:12 AM
Subject: switch compiler debug on/off in Java


> Hello all,
>
> can anybody give me a hint, how to sitwch on off the generation of
> debugging code using the java compiler ?
>
> I have written a small goal to create release output (debug = on seems
> to be the default behavior):
>
>   
>  property="maven.compile.debug" value="off" />
>
> maven.compile.debug=${maven.compile.debug}
>
> 
>   
>
> But it seems not having any effect on the compiled code (still with
> debugging information).
>
> Any idea?
>
>
> Greetings,
>
> Gunter
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re:Ref.:Re:Copying some resources to the same directory of compiled classes

2004-09-09 Thread jeff mutonho
Ok let me break it down further:
This is how the Support_Logging subproject looks like 
 
/Support_Logging/com/mtk/support/logging 
 |__LogConstants.java
 |__LogLevels.java
 |__BusMsgs.xml
 |__GeoMsgs.xml
 
and what I want to get is
 
/Support_Logging/target/classes/com/mtk/support/logging 
  
|__LogConstants.class
  
|__LogLevels.class
  
|__BusMsgs.xml
  
|__GeoMsgs.xml
 
and NOT 

 
/Support_Logging/target/classes/com/mtk/support/logging 
  |__BusMsgs.xml 
|__LogConstants.class
  |__GeoMsgs.xml 
|__LogLevels.class
 

 

The XML resources  are indeed being copied , but to the wrong place(for me).I want 
them to end up in the same directory as the compiled classes , i.e in 
"target/classes/com/mtk/support/logging" and not in  "target/classes/"
 
I think the question is how do i tell maven to copy the resources to the 
target/classes/com/mtk/support/logging  directory and not the 
target/classes/ directory:)
 
 
jeff mutonho
 

[EMAIL PROTECTED] wrote:
It is normal :) with the directory value you use that meen 
${basedir}/com/mtk/support/logging/**/*.xml are copy to 
/target/classes/**/*.xml
The dir structure of the file who are include is the same that the dir 
structure after the "directory" value.


${basedir}


${basedir}

**/*.xml


**/*.java






I think you should'nt use ${basedir} but place your xml file in a sub 
directory like ie src/main/resources

Nicolas


jeff mutnho




jeff mutonho 
08/09/2004 15:56
Veuillez répondre à "Maven Users List"


Pour : Maven Users List 
cc : 
Objet : Re: Copying some resources to the same directory of compiled classes


yes i defined the following 

${basedir}


${basedir}/com/mtk/support/logging


**/*.xml



**/*.java





but the're being copied to the /target/classes directory and not the 

/target/classes/com/mtk/support/logging , where I want them to be.


jeff mutnho


[EMAIL PROTECTED] wrote:
Did you define in your build section something like :


src/main/resources/someresources

**/*.xml



and your xml are in 
src/main/resources/someresources/com/mtk/support/logging

Nicolas





jeff mutonho 
08/09/2004 15:19
Veuillez répondre à "Maven Users List"


Pour : Maven Users List 
cc : 
Objet : Copying some resources to the same directory of compiled classes


Hi

I've got some resources(xml files) that I wish to be copied to the 
destination directory where my compiled classes are placed eg if the 
classes are in 
/target/classes/com/mtk/support/logging , 
then the xml files must also be copied to the same directory(.ie logging ) 

and not 
/target/classes

I've tried specifying in the element , 
but that doesn't seem to work.


jeff mutonho


-
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

switch compiler debug on/off in Java

2004-09-09 Thread Gunter Matella
Hello all,

can anybody give me a hint, how to sitwch on off the generation of
debugging code using the java compiler ?

I have written a small goal to create release output (debug = on seems
to be the default behavior):

  


maven.compile.debug=${maven.compile.debug}


  

But it seems not having any effect on the compiled code (still with
debugging information).

Any idea?


Greetings,

Gunter

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]