RE: Inconsistent EJB, WAR and EAR properties (MAVEN-349)

2003-08-22 Thread Brett Porter
The workaround would need to have the EAR use the right name for the WAR
file.
Versioning the WAR file will make paths in the appserver be something like
/apps-1.2.1/... Instead of /apps/...
Unless you explicitly configure around it?

- Brett

 -Original Message-
 From: Boris Ekelchik [mailto:[EMAIL PROTECTED] 
 Sent: Friday, 22 August 2003 9:27 AM
 To: 'Maven Users List'
 Subject: Inconsistent EJB, WAR and EAR properties (MAVEN-349)
 
 
 It's mentioned in JIRA MAVEN-349 issue, but still unresolved 
 in the current HEAD version.
 
 The problem is that webapp war file is generated without 
 version in the file name. So when you declare it as a war 
 type dependency in the EAR project.xml, maven looks for a WAR 
 artifact which has version number in its file name and of 
 course doesn't find it.
 
 From cvs HEAD:
 
 EJB:
 j:set var=maven.ejb.final.name 
   value=${maven.build.dir}/${maven.final.name}.jar/
 ...
ant:jar jarfile=${maven.ejb.final.name}
 
 EAR:
 ant:ear destfile=${maven.build.dir}/${maven.final.name}.ear
 
 
 WAR:
 ant:property name=maven.war.final.name 
   value=${pom.artifactId}.war/
 ...
ant:jar 
  destfile=${maven.war.build.dir}/${maven.war.final.name}
  basedir=${maven.war.webapp.dir} 
  update=true
  index=true
 
 Would this be a workaround for now?
 j:set var=maven.war.final.name
 value=${maven.final.name}.war/
 
 Thanks
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: setting encoding for javadoc

2003-08-22 Thread dion
Rasied as MAVEN-707.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Piotr Maj [EMAIL PROTECTED] wrote on 21/08/2003 07:37:34 PM:

 Hi,
 
 I decided to use Maven in my project - this is great and powerful tool.
 
 I encountered one problem during site:generate. I use utf-8 charset in
 java sources (javadocs are written in polish) and I noticed that Maven
 doesn't set proper meta tag to generated javadoc's HTMLs regardless
 the setting of maven.docs.outputencoding property.
 
 Is there a way to force Maven to use encoding in generated javadocs?
 I use v. 1.0-beta-10.
 
 -- 
 pozdrawiam. . . . . . . . . . .
 Piotr Maj  .:.  kernelpanic.pl .:.
  .:. Stuff for geeks .:. 
 Registered Linux user #231121. . . . . . . . . . . . . . . . .
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: plugin:generate-goals fails

2003-08-22 Thread dion
Raised as MAVEN-708
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Sri Sankaran [EMAIL PROTECTED] wrote on 22/08/2003 01:01:00 AM:

 Have you had a problem running the generate-goals goal of the plugin 
plugin?
 
 Maven reports the following error:
 
 Element... j:import
 Line.. 115
 Column 54
 null:-1:-1: null Could not parse Jelly script
 
 Note that this happens only if there is no plugin.jelly file and the
 goal therefore uses the goals-empty.jelly as a template.
 
 The template looks ok to me.  I am not able to figure out the cause 
 of the error.
 
 
 Sri
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: windows syntax error

2003-08-22 Thread dion
Does ${dep.artifact} end in .jar or .ear?
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


[EMAIL PROTECTED] wrote on 22/08/2003 06:17:34 AM:

 
 I am getting the error seen below.  Has anyone else had this error.
 
 exec dir=. 
executable=${env.WEBSPHERE_HOME}/bin/ejbdeploy.bat
   arg
 line=${maven.repo.local}/${dep.artifactDirectory}/${dep.type}
 s/${dep.artifact}
 temp Deployed_${dep.artifact}/
 
 /exec
 
 
 
 [exec] Input options error: The input filename must end in '.
 jar' or '.ear'.
  It was C:\Documents..
 [exec] 0 Errors, 0 Warnings, 0 Informational Messages
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: Maven Eclipse

2003-08-22 Thread dion
External tools entries can be generated using a goal too.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Henri Yandell [EMAIL PROTECTED] wrote on 22/08/2003 10:54:00 AM:

 
 Checkout your project in Eclipse from CVS.
 Run 'maven eclipse' on your project inside workspaces/your proj on the
 command line.
 Refresh your project.
 Set the MAVEN_REPO classpath variable in Eclipse
 
 A la, dependencies handled.
 
 To run maven, I think you have to configure an external tool.
 
 Hen
 
 On Thu, 21 Aug 2003, Srinivas Pavani wrote:
 
  Has anyone integrated Maven execution with Eclipse? If so, can you
 please list the steps required for integration.
 
  --
  -- Srinivas
 
  This email may contain confidential and privileged material for 
 the sole use of the intended recipient. Any review or distribution 
 by others is strictly prohibited.  If you are not the intended 
 recipient, please contact the sender and delete all copies.
 
 
  __
  McAfee VirusScan Online from the Netscape Network.
  Comprehensive protection for your entire computer. Get your free 
 trial today!
  
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
 
  Get AOL Instant Messenger 5.1 free of charge.  Download Now!
  http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
 
  -
  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 Antlr Troubles

2003-08-22 Thread dion
Alex Karasulu [EMAIL PROTECTED] wrote on 22/08/2003 02:03:23 PM:

 I'm having problems getting the antlr plugin to do anything at all other
 than create the target/antlr directory.  Here's what I have for the 
antlr
 properties:
 
 # antlr configuration
 maven.antlr.grammers= filter.g
There's a typo here. grammar is spelt with an 'a'.

 maven.antlr.src.dir=src/antlr
 
 I get no activity at all and it tells me the build went just fine: i.e.
 BUILD SUCCESSFUL.  None of the antlr files expected get generated.
 
 How can I effectively utilize this plugin if my antlr grammars
 grammerFile1.g and grammerFile2.g are in the src/antlr directory?
Shouldn't it be

maven.antlr.grammars= grammerFile1.g grammerFile2.g

--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/




RE: windows syntax error

2003-08-22 Thread dion
Even better would be to use arg value= /
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Brett Porter [EMAIL PROTECTED] wrote on 22/08/2003 10:29:00 AM:

 Looks like some quoting is needed - I'm guessing
 maven.repo.local=c:\documents and settings\username\.maven\repository ?
 Workaround is to set maven.repo.local somewhere else in your
 build.properties that doesn't contain spaces.
 
 - Brett
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
  Sent: Friday, 22 August 2003 6:18 AM
  To: [EMAIL PROTECTED]
  Subject: windows syntax error
  
  
  
  I am getting the error seen below.  Has anyone else had this error.
  
  exec dir=. 
  executable=${env.WEBSPHERE_HOME}/bin/ejbdeploy.bat
arg 
  line=${maven.repo.local}/${dep.artifactDirectory}/${dep.type}
  s/${dep.artifact}
  temp Deployed_${dep.artifact}/
  
  /exec
  
  
  
  [exec] Input options error: The input filename must end 
  in '.jar' or '.ear'.  It was C:\Documents..
  [exec] 0 Errors, 0 Warnings, 0 Informational Messages
  
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  


jxr plugin output

2003-08-22 Thread Simon Matic Langford
hi all,

we're noticing a lot of output from the jxr plugin which we'd rather
went to a file.

I had a look at org.apache.maven.jxr.pacman.PackageManager, and the
log(String)
method, but that just seems to do a System.out.println().

Am I correct in assuming this means I can't stop it? is this still the
same in head?

otherwise I'll try and do a patch.

thanks

simon

The information contained in this e-mail is intended only for the person
or
entity to which it is addressed and may contain confidential and/or
privileged material. If You are not the intended recipient of this
e-mail,
the use of this information or any disclosure, copying or distribution
is
Prohibited and may be unlawful. If you received this in error, please
contact the sender and delete the material from any computer. The views
expressed in this e-mail may not necessarily be the views of The PCMS
Group
plc and should not be taken as authority to carry out any instruction
contained.
 



RE: About Javadoc links

2003-08-22 Thread Martin Skopp
On Tue, 2003-08-19 at 09:23, Martin Skopp wrote:
 On Thu, 2003-08-14 at 12:06, Simon Matic Langford wrote:
  we'd actually like to do the offline links even when online, as javadoc
  can't go
  through a proxy.
 
 I have raised JIRA Issue MAVEN-694
 http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-694

Not fixed in CVS (yet) because my first patch was not sufficient.
But I hope dion applies my second patch as fast as the first...

For those interested and willing to test:  I attached a zip file and
instructions how to upgrade javadoc-plugin to the JIRA issue.

dion: the issue still has closed status because I have no rights to open
it again...

cu,
-- 
Martin Skopp
Riege Software International GmbH
Support: mailto:[EMAIL PROTECTED], Information: http://www.riege.com
 
This email is intended to be viewed with a nonproportional font.
Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
Fingerprint: 1970 C78D 9A1D 99FA 5CE4  5C0D 29E6 6A95 3D40 27B5



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



Re: jxr plugin output

2003-08-22 Thread Emmanuel Venisse
Hi,

Yes, we use System.out.println in head.
Your patch is welcome.

Emmanuel

- Original Message - 
From: Simon Matic Langford [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 22, 2003 10:17 AM
Subject: jxr plugin output


 hi all,
 
 we're noticing a lot of output from the jxr plugin which we'd rather
 went to a file.
 
 I had a look at org.apache.maven.jxr.pacman.PackageManager, and the
 log(String)
 method, but that just seems to do a System.out.println().
 
 Am I correct in assuming this means I can't stop it? is this still the
 same in head?
 
 otherwise I'll try and do a patch.
 
 thanks
 
 simon
 
 The information contained in this e-mail is intended only for the person
 or
 entity to which it is addressed and may contain confidential and/or
 privileged material. If You are not the intended recipient of this
 e-mail,
 the use of this information or any disclosure, copying or distribution
 is
 Prohibited and may be unlawful. If you received this in error, please
 contact the sender and delete the material from any computer. The views
 expressed in this e-mail may not necessarily be the views of The PCMS
 Group
 plc and should not be taken as authority to carry out any instruction
 contained.
  
 
 
_
Envie de discuter en live avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France


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



Re: Maven Eclipse

2003-08-22 Thread Nicolas . CHALUMEAU
Maven eclipse pluggin generate external tool with : maven 
eclipse:external-tools and maven eclipse:external-tools-21
You will be able to run maven in eclipse.

It works fine no ?

Nicolas





Jeffrey Bonevich [EMAIL PROTECTED]
22/08/2003 03:01
Veuillez répondre à Maven Users List

 
Pour :  Maven Users List [EMAIL PROTECTED]
cc : 
Objet : Re: Maven  Eclipse


 We're working on an eclipse plugin:

 http://mevenide.sourceforge.net
 http://sourceforge.net/projects/mevenide/

 Also, I believe the eclipse plugin for maven can create an external 
 tools launcher to use in eclipse.
 
 jeff


Srinivas Pavani wrote:
 Has anyone integrated Maven execution with Eclipse? If so, can you 
please list the steps required for integration.
 

-- 
Jeffrey Bonevich
Ann Arbor, Michigan
bonevich at covad dot net
jeff at bonevich dot com
http://www.bonevich.com

Make me a fire and I'm warm for a night.  Set me
on fire and I'm warm for the rest of my life.
- Ancient Didactical Saying


-
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]



Stopping a goal in the pregoal

2003-08-22 Thread Neil Blue
Hello,

We have a goal with a pregoal set. Sometimes it is the case that after a check faild 
in the pregoal we do not want to run the main goal. Is there a way to prevent the goal 
from running?

Thanks 

Neil

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



Re: maven plugin - jbuilder

2003-08-22 Thread Emmanuel Venisse
All patch are applied in cvs head.

- Original Message - 
From: Dan Tran [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Friday, August 22, 2003 5:18 AM
Subject: Re: maven plugin - jbuilder


 There is a patch for this fix.  It is in JITA search for jbuilder key word

 -Dan
 - Original Message - 
 From: Emmanuel Venisse [EMAIL PROTECTED]
 To: Maven Users List [EMAIL PROTECTED]; Marco Herrn
 [EMAIL PROTECTED]
 Sent: Thursday, August 21, 2003 7:26 AM
 Subject: Re: maven plugin - jbuilder


  Hi,
  Could you post your future messages to maven user list, for obtain more
 help
  and help other users.
 
  I don't use the plugin, but I think I can help you.
 
  Where is install your jbuilder (.jbuilder9 directory)? If it isn't in
your
  user.home, you must define maven.jbuilder.userHome property with the
 correct
  directory. And in the .jbuilder9 directory, you must have a Default.jpr
  project.
 
  Emmanuel
 
  - Original Message - 
  From: Marco Herrn [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, August 21, 2003 2:48 PM
  Subject: maven plugin - jbuilder
 
 
  Hi,
 
  I am using maven and wanted to use your plugin to generate a jbuilder
  project.
  But I am getting the error that the JBuilder Installation could not be
  found.
  Do you know of such a problem?
 
  I am using the Personal Edition of JBuilder 9 und Win2000.
 
  The error message I am getting is this (snipped a bit) :
 
  [DEBUG] Adding reference: maven.dependency.classpath - C:\Dokumente und
  Einste
  lungen\herrnm\.maven\repository\log4j\jars\log4j-1.2.8.jar;C:\Dokumente
 und
  Ein
 

tellungen\herrnm\.maven\repository\cryptix-jce-api\jars\cryptix-jce-api.jar;
  C:\
  okumente und
  Einstellungen\herrnm\.maven\repository\cryptix-jce-provider\jars\c
  yptix-jce-provider.jar;C:\Dokumente und
  Einstellungen\herrnm\.maven\repository\
  ryptix-message-api\jars\cryptix-message-api.jar;C:\Dokumente und
  Einstellungen\
 

errnm\.maven\repository\cryptix-openpgp-provider\jars\cryptix-openpgp-provid
  er.
  ar;C:\Dokumente und
  Einstellungen\herrnm\.maven\repository\cryptix-pki-api\jars
  cryptix-pki-api.jar;C:\Dokumente und
  Einstellungen\herrnm\.maven\repository\jdo
  \jars\jdom-b9.jar;C:\Dokumente und
  Einstellungen\herrnm\.maven\repository\mail\
  ars\mail.jar;C:\Dokumente und
  Einstellungen\herrnm\.maven\repository\servletapi
  jars\servletapi-2.3.jar;C:\Dokumente und
  Einstellungen\herrnm\.maven\repository
  activation\jars\activation.jar;C:\Dokumente und
  Einstellungen\herrnm\.maven\rep
  sitory\certpath-api-compat\jars\certpath-api-compat.jar;C:\Dokumente und
  Einste
  lungen\herrnm\.maven\repository\jcosap\jars\sapjco.jar
  [available] [VERBOSE] Found: src\java
  [available] [VERBOSE] Unable to find src\test to set property
  unitTestSourc
  sPresent
  [DEBUG] Adding reference: maven-classpath -
  [DEBUG] Adding reference: maven.compile.src.set -
  [DEBUG] Adding reference: maven.dependency.classpath - C:\Dokumente und
  Einste
 

lungen\herrnm\.maven\repository\commons-jelly\jars\commons-jelly-tags-xml-20
  030
  11.142705.jar
  [DEBUG] Adding reference: maven-classpath -
  [DEBUG] Adding reference: maven.compile.src.set -
 
  BUILD FAILED
  File.. file:/C:/Dokumente und
  Einstellungen/herrnm/.maven/plugins/maven-jbu
  lder-plugin-1.3-SNAPSHOT/
  Element... fail
  Line.. 459
  Column 25
  +--
  | ERROR!
  |
  | A JBuilder installation could not be found.
  +--
  com.werken.werkz.UnattainableGoalException: Unable to obtain goal
  [jbuilder:gen
  rate-library] -- file:/C:/Dokumente und
  Einstellungen/herrnm/.maven/plugins/mav
  n-jbuilder-plugin-1.3-SNAPSHOT/:459:25: fail
  +---
  --
  | ERROR!
  |
  | A JBuilder installation could not be found.
  +--
  at com.werken.werkz.Goal.fire(Goal.java:646)
  at com.werken.werkz.Goal.attain(Goal.java:575)
  at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
  at com.werken.werkz.Goal.attain(Goal.java:573)
  at
  org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
  434)
  at
 org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
  at org.apache.maven.cli.App.doMain(App.java:525)
  at org.apache.maven.cli.App.main(App.java:1088)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
  java:39)
  at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
  sorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  at com.werken.forehead.Forehead.run(Forehead.java:543)
  at 

Re: Removing maven traces

2003-08-22 Thread Mark H. Wilkinson
On Wed, 2003-08-13 at 12:04, Jefferson K. French wrote:
 On Wed, 13 Aug 2003, at 11:04:12 [GMT +0600] Eran Chinthaka wrote:
 
  I generated my project site using maven. BUt now I need to remove
  the traces created by maven within it.
 
 I'm curious as to why people do this. Shouldn't we give credit to the
 people who developed the software?

Some people obviously prefer to spend their time tweaking a web site
rather than producing working software for their project stakeholders.
They really need to go and read the http://agilemanifesto.org/

-Mark.


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



Re: Maven Eclipse

2003-08-22 Thread Michael . J . Brown

Check out this project too - it seems to have been resurrected and looks
promising...

http://mevenide.sourceforge.net/doc/index.html

 Mike



|+
||  [EMAIL PROTECTED]|
||  .com.au   |
|||
||  2003-08-22|
||  02:53 |
||  Please respond|
||  to users  |
|||
|+
  
|
  |
|
  |  To: [EMAIL PROTECTED] 
   |
  |  cc:   
|
  |  Subject: Re: Maven  Eclipse  
|
  
|




External tools entries can be generated using a goal too.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Henri Yandell [EMAIL PROTECTED] wrote on 22/08/2003 10:54:00 AM:


 Checkout your project in Eclipse from CVS.
 Run 'maven eclipse' on your project inside workspaces/your proj on the
 command line.
 Refresh your project.
 Set the MAVEN_REPO classpath variable in Eclipse

 A la, dependencies handled.

 To run maven, I think you have to configure an external tool.

 Hen

 On Thu, 21 Aug 2003, Srinivas Pavani wrote:

  Has anyone integrated Maven execution with Eclipse? If so, can you
 please list the steps required for integration.
 
  --
  -- Srinivas
 
  This email may contain confidential and privileged material for
 the sole use of the intended recipient. Any review or distribution
 by others is strictly prohibited.  If you are not the intended
 recipient, please contact the sender and delete all copies.
 
 
  __
  McAfee VirusScan Online from the Netscape Network.
  Comprehensive protection for your entire computer. Get your free
 trial today!
 
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397
 
  Get AOL Instant Messenger 5.1 free of charge.  Download Now!
  http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
 
  -
  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: project.xml is a jelly script?

2003-08-22 Thread Mark H. Wilkinson
On Sun, 2003-08-17 at 00:16, Jason van Zyl wrote:
 On Sat, 2003-08-16 at 16:35, Luke Taylor wrote:
  
  I think the problem is that you might want to put shared dependencies 
  into a parent project file for a reactor project which has, for example, 
  20 sub-projects/components. But if perhaps only 10 of them actually use 
  the dependencies, they will still have to be available for building the 
  others individually. 
 
 Ok, that I don't quite understand. There is just a fear of polluting the
 classpath?

Yeah, that would be my concern. For example, you might have certain
sub-projects that shouldn't be doing anything with XML, but if you
inherit all your dependencies from the parent project you loose the
ability to verify these architectural constraints at compile time.

Probably more important, if your project contains sub-projects common,
framework, shared, front-end, back-end and ui, you might want to make
sure that ui only depends on front-end, shared, framework and common,
but that it's depending on the same versions of shared, framework and
common that the back-end project is depending on.

-Mark.


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



Re: Stopping a goal in the pregoal

2003-08-22 Thread Nicolas . CHALUMEAU
Do a fail message=why I stop build/ in your pregoal in the case of an 
error.

Nicolas





Neil Blue [EMAIL PROTECTED]
22/08/2003 10:50
Veuillez répondre à Maven Users List

 
Pour :  Maven Users List [EMAIL PROTECTED]
cc : 
Objet : Stopping a goal in the pregoal


 Hello,

 We have a goal with a pregoal set. Sometimes it is the case that after a 
check faild in the pregoal we do not want to run the main  goal. Is there 
a way to prevent the goal from running?

 Thanks 

 Neil

 -
 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]



AW: maven plugin - jbuilder

2003-08-22 Thread Marco Herrn
 All patch are applied in cvs head.

Is there anonymous access to the cvs? I didn't find any hint on the webpage.

  There is a patch for this fix.  It is in JITA search for 
 jbuilder key 

I tried it, but for some reason it didn't work for me. And there are two
versions of plugin.jelly and plugin.properties. How do I know which one to
take?

Bye
Marco



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



OutOfMemory Error

2003-08-22 Thread Eran Chinthaka
Title: Message




 [echo] Generating 
E:/mavenReports/docs/junit-report.html from 
E:\mavenReports\generated-xdocs\junit-report.xml [echo] 
Generating E:/mavenReports/docs/linkcheck.html from 
E:\mavenReports\generated-xdocs\linkcheck.xml [echo] 
Generating E:/mavenReports/docs/mail-lists.html from 
E:\mavenReports\generated-xdocs\mail-lists.xml [echo] 
Generating E:/mavenReports/docs/maven-reports.html from 
E:\mavenReports\generated-xdocs\maven-reports.xml [echo] 
Generating E:/mavenReports/docs/project-info.html from 
E:\mavenReports\generated-xdocs\project-info.xml [echo] 
Generating E:/mavenReports/docs/task-list.html from 
E:\mavenReports\generated-xdocs\task-list.xml [echo] 
Generating E:/mavenReports/docs/team-list.html from 
E:\mavenReports\generated-xdocs\team-list.xmlmaven-linkcheck-plugin: Not 
using a proxy

BUILD 
FAILEDjava.lang.reflect.InvocationTargetException 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
at 
java.lang.reflect.Method.invoke(Method.java:324) 
at 
org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:230) 
at 
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145) 
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) 
at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) 
at 
com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) 
at 
com.werken.werkz.Goal.fire(Goal.java:639) 
at 
com.werken.werkz.Goal.attain(Goal.java:575) 
at 
com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) 
at 
com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134) 
at 
org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag.doTag(LazyAttainGoalTag.java:107) 
at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) 
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) 
at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) 
at 
org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) 
at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) 
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) 
at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) 
at 
org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:145) 
at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) 
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) 
at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) 
at 
org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) 
at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) 
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) 
at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) 
at 
com.werken.werkz.jelly.PostGoalTag$1.firePostGoal(PostGoalTag.java:87) 
at 
com.werken.werkz.Goal.firePostGoalCallbacks(Goal.java:710) 
at 
com.werken.werkz.Goal.fire(Goal.java:654) 
at 
com.werken.werkz.Goal.attain(Goal.java:575) 
at 
com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) 
at 
com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134) 
at 
org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag.doTag(LazyAttainGoalTag.java:107) 
at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) 
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) 
at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) 
at 
com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) 
at 
com.werken.werkz.Goal.fire(Goal.java:639) 
at 
com.werken.werkz.Goal.attain(Goal.java:575) 
at 
com.werken.werkz.Goal.attainPrecursors(Goal.java:488) 
at 
com.werken.werkz.Goal.attain(Goal.java:573) 
at 
com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) 
at 
com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134) 
at 
org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag.doTag(LazyAttainGoalTag.java:107) 
at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) 
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) 
at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) 
at 
com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) 
at 
com.werken.werkz.Goal.fire(Goal.java:639) 
at 
com.werken.werkz.Goal.attain(Goal.java:575) 
at 
com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) 
at 
com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134) 
at 
org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag.doTag(LazyAttainGoalTag.java:107) 
at 
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) 
at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) 
at 
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) 
at 

Réf. : Problems with local user profile

2003-08-22 Thread Nicolas . CHALUMEAU
Set the maven.repo.local property to the fodler you want
http://wiki.codehaus.org/maven/FrequentlyAskedQuestions#head-78713fa47d730aafc0c700028dde3ec9d80ef347

Nicolas





Markus [EMAIL PROTECTED]
22/08/2003 11:17
Veuillez répondre à Maven Users List

 
Pour :  [EMAIL PROTECTED]
cc : 
Objet : Problems with local user profile


 Hi,

 I've build maven-1.0-RC1 from cvs and all worked fine. Now I've the 
problem
 that under win2k maven now build the repository and plugin folder in the
 local user profile. How can I avoid this?

 Kind regards,

 Markus






-
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: About Javadoc links

2003-08-22 Thread dion
Fixed in CVS now.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Martin Skopp [EMAIL PROTECTED] wrote on 22/08/2003 06:33:23 PM:

 On Tue, 2003-08-19 at 09:23, Martin Skopp wrote:
  On Thu, 2003-08-14 at 12:06, Simon Matic Langford wrote:
   we'd actually like to do the offline links even when online, as 
javadoc
   can't go
   through a proxy.
  
  I have raised JIRA Issue MAVEN-694
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-694
 
 Not fixed in CVS (yet) because my first patch was not sufficient.
 But I hope dion applies my second patch as fast as the first...
 
 For those interested and willing to test:  I attached a zip file and
 instructions how to upgrade javadoc-plugin to the JIRA issue.
 
 dion: the issue still has closed status because I have no rights to open
 it again...
 
 cu,
 -- 
 Martin Skopp
 Riege Software International GmbH
 Support: mailto:[EMAIL PROTECTED], Information: http://www.riege.com
 
 This email is intended to be viewed with a nonproportional font.
 Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
 Fingerprint: 1970 C78D 9A1D 99FA 5CE4  5C0D 29E6 6A95 3D40 27B5
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: Maven Eclipse

2003-08-22 Thread Keld Mikkelsen

The correct order is:


 Checkout your project in Eclipse from CVS.
 Set the MAVEN_REPO classpath variable in Eclipse.
 Run 'maven eclipse' on your project inside workspaces/your proj on the
command line.
 Refresh your project.


I am using it with IBM WSAD 5.1 (=eclipse 2.1)

/Keld




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



RE: Maven Eclipse

2003-08-22 Thread Norm Deane
Running 'maven eclipse:external-tools-21' will also generate a set of
external tool launch configurations for all of the default Maven goals.
You probably don't want a launch configuration for all of Maven's
default goals but this will give you a starting point.  You can then go
into
$ECLIPSE_HOME/workspace/.metadata/.plugins/org.eclipse.debug.core/.launc
hes and delete the ones that you don't want and add some for some of
Maven non-default goals.

-- Norm

-- 
Norm Deane
MIS Consultant
Vanderbilt University
(615) 322-7855
[EMAIL PROTECTED] 

-Original Message-
From: Keld Mikkelsen [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 22, 2003 2:05 AM
To: Maven Users List
Subject: Re: Maven  Eclipse



The correct order is:


 Checkout your project in Eclipse from CVS.
 Set the MAVEN_REPO classpath variable in Eclipse.
 Run 'maven eclipse' on your project inside workspaces/your proj on 
 the
command line.
 Refresh your project.


I am using it with IBM WSAD 5.1 (=eclipse 2.1)

/Keld




-
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]



maven mockdoclet

2003-08-22 Thread Dominik Dahlem
Hi all,

I wanna use mockdoclets with maven. However, the mockdoclet seems to be
in early development stages in terms of maven integration. In the maven
plugin no default properties for mockdoclet are set.
Has anyone been using it with maven or can anyone give me directions on
how to use it?

Any help is greatly appreciated.

Thx,
Dominik


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



RE: Inconsistent EJB, WAR and EAR properties (MAVEN-349)

2003-08-22 Thread Boris Ekelchik
Never mind. Plug-in generates WAR file with no version, but installs into
repository with version in a file name.

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 21, 2003 9:19 PM
To: 'Maven Users List'
Subject: RE: Inconsistent EJB, WAR and EAR properties (MAVEN-349)

The workaround would need to have the EAR use the right name for the WAR
file.
Versioning the WAR file will make paths in the appserver be something like
/apps-1.2.1/... Instead of /apps/...
Unless you explicitly configure around it?

- Brett

 -Original Message-
 From: Boris Ekelchik [mailto:[EMAIL PROTECTED] 
 Sent: Friday, 22 August 2003 9:27 AM
 To: 'Maven Users List'
 Subject: Inconsistent EJB, WAR and EAR properties (MAVEN-349)
 
 
 It's mentioned in JIRA MAVEN-349 issue, but still unresolved 
 in the current HEAD version.
 
 The problem is that webapp war file is generated without 
 version in the file name. So when you declare it as a war 
 type dependency in the EAR project.xml, maven looks for a WAR 
 artifact which has version number in its file name and of 
 course doesn't find it.
 
 From cvs HEAD:
 
 EJB:
 j:set var=maven.ejb.final.name 
   value=${maven.build.dir}/${maven.final.name}.jar/
 ...
ant:jar jarfile=${maven.ejb.final.name}
 
 EAR:
 ant:ear destfile=${maven.build.dir}/${maven.final.name}.ear
 
 
 WAR:
 ant:property name=maven.war.final.name 
   value=${pom.artifactId}.war/
 ...
ant:jar 
  destfile=${maven.war.build.dir}/${maven.war.final.name}
  basedir=${maven.war.webapp.dir} 
  update=true
  index=true
 
 Would this be a workaround for now?
 j:set var=maven.war.final.name
 value=${maven.final.name}.war/
 
 Thanks
 
 -
 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]



installing maven

2003-08-22 Thread Thakkar, Hetal
I am running in to the following problem while trying to install maven.

I downloaded the Maven zip file and extracted it.
I also setup the MAVEN_HOME and PATH variables.

But I cannot run the %MAVEN_HOME%\bin\install_repo.bat
%HOME%\.maven\repository command since install_repo.bat does not exist. 
I am not sure what is going wrong. Also, two days back on 20th the 
instructions were different for installing then now.

If I try to run maven without running the install_repo.bat then I get 
the following error, regardless of the parameters passed to maven:
java.net.MalformedURLException: unknown protocol: c
at java.net.URL.init(URL.java:586)
at java.net.URL.init(URL.java:476)
at java.net.URL.init(URL.java:425)
at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:401)
at com.werken.forehead.Forehead.load(Forehead.java:322)
at com.werken.forehead.Forehead.config(Forehead.java:245)
at com.werken.forehead.Forehead.config(Forehead.java:131)
at com.werken.forehead.Forehead.main(Forehead.java:571)

Could this be because I am behind a firewall?

Any suggestions will be appriciated.

Thanks,
Hetal

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