RE: OutOfMemory Error

2003-08-21 Thread dion
Set the property 

maven.build.dir 

See the user guide: 
http://maven.apache.org/reference/user-guide.html#Behavioural%20Properties
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Eran Chinthaka [EMAIL PROTECTED] wrote on 21/08/2003 04:40:14 
PM:

 How can I specify a new output directory. 
 
 I have project.xml file in the d:/test folder. Afer running maven it
 creates a target folder in d:/test. How can I put this to some where
 else ?
 
 Eran Chinthaka
 Eurocenter DDC Limited
 65, Walukarama Road
 Colombo 03
 Tel: 074 721194-6
 
 
 -Original Message-
 From: Jefferson K. French [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, August 21, 2003 10:10 AM
 To: Maven Users List
 Subject: Re: OutOfMemory Error
 
 
 Did you inadvertently make your transformation output directory the same
 as the input directory?
 
 On Thu, 21 Aug 2003, at 09:10:34 [GMT +0600] Eran Chinthaka wrote:
 
  I was using maven site command. At one time it is saying copying some 
  number of files. But the problem is the number of files this is 
  copying seems to be increasing, without much  of a change to the code 
  or relevant xml files. And another things is after transforming user 
  documents, it is saying an OutOfMemoryError. For maven to come to this
 
  state, it has taken 116 minutes. Please help me to fix this.
 
   mailto:[EMAIL PROTECTED] From Signature Eran 
  Chinthaka
 
 -- 
 mailto:[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: Put more support for shared maven-home ?

2003-08-21 Thread Paul Libbrecht
On Jeudi, août 21, 2003, at 01:31 Europe/Paris, Brett Porter wrote:

Since maven b10, the maven.home is now in ${user.home}/.maven.
Nope, that's maven.home.local.
Indeed, sorry...

I'm guesing your problem is the repository, not the plugins directory. 
In
this case, have all the users set 
maven.repo.local=/path/to/shared/repo in
their ~/build.properties.
I've put it in our own script and it's working fine.

Alternatively, you can set MAVEN_HOME_LOCAL=/path/to/shared/.maven in
/etc/profile and everyone will get a shared instance of both the 
plugins and repository - but there are potential problems with both in 
terms of
permissions as you point out.
Maybe MAVEN_HOME_LOCAL=/path/to/temporary/storage/$USERNAME is what 
you want instead so everyone has their own copy somewhere where space 
isn't an issue.
Well, as long as the permission stuffs is managed (which shouldn't be 
hard), I'd prefer the shared way.
My fear was that there could be concurrency problems, I'm pretty sure 
that maven does not (yet) use java.nio file-locks...

Also, I wanted to request a small post-processing command,
maybe to be
inserted as a property, to allow anything created in this
repository to
be flagged group-writable. Where should I set this ? Should I go into
the maven source ?
Java doesn't really deal with this issue. You are probably going to 
have to
asses the umask on the directories in question, or add a chmod -R to 
the endof the maven shell script for your particular instance.
Well... I would prefer to have this (that would be a chmod ug+w 
fileOrDirectory every-time something is created in the repository 
instead of trying a chmod -R which would complain all the time...
Also, the repository is really not written to every day in such a 
setting as only the first of the group that makes the download will 
write to it...

Which class should I look into ?

Thanks.

Paul

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


Re: [OT-Jelly]Expression evaluation

2003-08-21 Thread Martin Skopp
On Thu, 2003-08-21 at 06:24, Sri Sankaran wrote:
 I am a little confused over when an attribute value of ${whatever} is evaluated as 
 an expression and when it is treated literally.
 
 In particular, I am noticing an inconsistency in the way an attribute value is being 
 treated by j:set and j:if.  It seems that j:set's value attribute is treated 
 literally; however, the j:if's test attribute is evaluated as an expression.
 
 Consider the following property settings
 foo-bar.baz = bing
 foo_bar.baz = bing
 foo.bar.baz = bing
 
 Here are some usages:
 Example 1:
 j:set var=fbb value=${foo-bar.baz}/
 echo message=fbb = ${fbb}/ 
 j:if test=${foo-bar.baz == null}
   echo message=foo-bar.baz is null/
 /j:if
 
 This outputs 
   fbb is 0

0 is the result of the arithmethic expression (foo MINUS bar.baz).

One better should avoid - in property names.
-- 
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]



expanding parent scope properties as filters

2003-08-21 Thread Peter Neubauer
Hi,
I'm having som struggle with the filtering of some
files.

The problem is that down in a sub-project, I want to
replace say
[EMAIL PROTECTED]@ with the property that is
inherited from the top level like:

base.dir=test
srcdir=${test}/dir

there are two problems:

ant doesn't understand composed filters, as it does
with properties. So when i just include this in my
current scope build.filter and load that as
filter filtersfile=build.filter/, I get
replace.prop=${test}/dir.

What I did to get around that is to export the
properties and to import them again:

echopropertiesdestfile=build.filter/
filter filtersfile=build.filter/

This works with the current scope, but not with
inherited props in maven. They get exported in a
parentScope=..srcdir=test/dir...
Which is not readable as a filter.

Another try was to iterate via:

j:scope
j:set var=entries
value=${context.variables} scope=parent/
!--j:set var=entr
value=${context.variables.get(${str})}/--
echohej ${entries}/echo
j:forEach var=entry
items=${entries.entryMap()}
 
   echohej ${entry}/echo
   propertyfile
file=test.tmp
comment=My properties
  entry  key=${entry.name}
value=${entry.value}/
/propertyfile

   
/j:forEach
/j:scope

If I set the scope to parent, I get a StackOverFlow
error, but if I don't, I don't get the parent
variables.

What can I do to achieve the filtering?


Thanks for any hints!


/peter

=
Peter Neubauer
mailto:[EMAIL PROTECTED]

Yahoo! Mail - Gratis: 6 MB lagringsutrymme, spamfilter och virusscan. Se mer på 
http://se.mail.yahoo.com

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



setting encoding for javadoc

2003-08-21 Thread Piotr Maj
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: How to depend on JavaCC?

2003-08-21 Thread Jason Dillon
Can we get the latest installed on ibiblio with the proper layout for 
dependencies?

--jason

On Monday, August 18, 2003, at 01:24  AM, Incze Lajos wrote:

But I will still place a properly named artifact in there. Is that
version 2.1 ?
I think so. The 3.x series is named differently
(see https://javacc.dev.java.net/servlets/ProjectDocumentList).
incze

-
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 depend on JavaCC?

2003-08-21 Thread Jason van Zyl
On Thu, 2003-08-21 at 05:05, Jason Dillon wrote:
 Can we get the latest installed on ibiblio with the proper layout for 
 dependencies?

Sure, hunt them down. Give us an URL to the JARs you want put up and
we'll do it.

 --jason
 
 
 On Monday, August 18, 2003, at 01:24  AM, Incze Lajos wrote:
 
  But I will still place a properly named artifact in there. Is that
  version 2.1 ?
 
 
  I think so. The 3.x series is named differently
  (see https://javacc.dev.java.net/servlets/ProjectDocumentList).
 
  incze
 
  -
  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]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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



Re: maven plugin - jbuilder

2003-08-21 Thread Emmanuel Venisse
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 com.werken.forehead.Forehead.main(Forehead.java:573)


Can you help me here?
Bye
Marco

_
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

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



plugin:generate-goals fails

2003-08-21 Thread Sri Sankaran
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: setting encoding for javadoc

2003-08-21 Thread Piotr Maj
Dnia Thu, Aug 21, 2003 at 12:08:21PM +0200, Norbert Pabi zezna/-a:

 I added maven.javadoc.additionalparam=-charset ISO-8859-2
 to my project.properties and it works fine.
 Try maven.javadoc.additionalparam=-charset UTF-8

Thanks. I couldn't find that in docs... use the source, luke ... ;) 

-- 
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: XMLTask and Maven

2003-08-21 Thread Craig S. Cottingham
On Thu, 2003-08-21 at 13:13, Nelson, Scott (MAN - Corporate) wrote:
 Has anyone used XMLTask for editing your xml files within a maven
 environment?  
 
 I am trying to parse through my xml file and append some information to my
 jndi names.

I have tried to use XMLTask directly within Maven, unsuccessfully. For
some reason I can't get the classpath right so that XMLTask can find
Xalan.

I converted a working Ant environment to Maven, so I had a build.xml in
which XMLTask worked. I pared build.xml down to just a target with the
xmltask task, and I call it from maven.xml.

-- 
Craig S. Cottingham
[EMAIL PROTECTED]


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



windows syntax error

2003-08-21 Thread Vikram_Kumar

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]



Maven Eclipse

2003-08-21 Thread Srinivas Pavani
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]



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

2003-08-21 Thread Boris Ekelchik
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: But more support for shared maven-home ?

2003-08-21 Thread Paul Libbrecht
Ben Walding wrote:
Paul Libbrecht wrote:



Also, I wanted to request a small post-processing command, maybe to be 
inserted as a property, to allow anything created in this repository 
to be flagged group-writable. Where should I set this ? Should I go 
into the maven source ? 


Perhaps set the umask in your maven script / profile

umask 002

Also, you might want to consider setting g+rws which will make creation 
of files sticky to the group of the folder they are in.

In shellish -

umask 002
mkdir fred
chown joe.jim fred
chmod g+rws fred
mkdir fred/ned
ned will be owned by the group jim and have permissions
u+rwx,g+rwxs,o+rx
Yes but then all files produced by maven would be group-writable.
I only want this in the repository.
Paul

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


Re: Maven Eclipse

2003-08-21 Thread Jeffrey Bonevich
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]


RE: windows syntax error

2003-08-21 Thread Brett Porter
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]
 


Re: maven plugin - jbuilder

2003-08-21 Thread Dan Tran
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 com.werken.forehead.Forehead.main(Forehead.java:573)


 Can you help me here?
 Bye
 Marco

 _
 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

 _
 Envie de discuter 

Maven Antlr Troubles

2003-08-21 Thread Alex Karasulu
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
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?

Thanks,
Alex



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



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

2003-08-21 Thread Boris Ekelchik
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: Maven Antlr Troubles

2003-08-21 Thread Alex Karasulu
Yep thanks - I can't seem to spell for the life of me.  Also thanks to the
Dion (GAIM) and Noel (MSN) team ;-).

Alex

-Original Message-
From: Craig S. Cottingham [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 21, 2003 11:23 PM
To: Maven Users List
Subject: Re: Maven Antlr Troubles

On Thu, 2003-08-21 at 23:03, Alex Karasulu wrote:
 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
  
  grammars
?

-- 
Craig S. Cottingham
[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]