RE: How to refer to ws-xmlrpc as xmlrpc?

2004-10-24 Thread Eric Pugh
Hi Niclas..  I think the fix isn't working..   Not sure what is going on..
also, on a related note, I switched to javamail-1.3, but it doesn't seem to
pick it up as well...

Eric

 -Original Message-
 From: Niclas Hedhman [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 21, 2004 10:17 AM
 To: Gump code and data
 Subject: Re: How to refer to ws-xmlrpc as xmlrpc?


 On Thursday 21 October 2004 16:57, Eric Pugh wrote:

  So, I add this:
property name=maven.jar.bsf project=jakarta-bsf
 id=bsf.jar /
property name=maven.jar.xmlrpc project=ws-xmlrpc
 id=xmlrpc.jar

 No, the id refers to the declared id in the jar of the project
 (and I am not
 sure what that defaults to, btu I suspect not what you wrote).

 The two projects you are referring to, are both declaring only
 one jar, in
 which case the id= above not necessary.

 I have committed that change.

 Cheers
 Niclas

 --
+--//---+
   / http://www.bali.ac/
  / http://niclas.hedhman.org /
 +--//---+


 -
 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 refer to ws-xmlrpc as xmlrpc?

2004-10-24 Thread Niclas Hedhman
On Sunday 24 October 2004 19:52, Eric Pugh wrote:
 Hi Niclas..  I think the fix isn't working..   Not sure what is going on..
 also, on a related note, I switched to javamail-1.3, but it doesn't seem to
 pick it up as well...

The version doesn't matter.
What matters is the match between the Maven artifactID and the JAR ID of 
javamail.
I will spend some time on it and see what I can dig up.

Cheers
Niclas
-- 
   +--//---+
  / http://www.bali.ac/
 / http://niclas.hedhman.org / 
+--//---+


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



Re: How to refer to ws-xmlrpc as xmlrpc?

2004-10-24 Thread Niclas Hedhman
On Sunday 24 October 2004 20:04, Niclas Hedhman wrote:
 On Sunday 24 October 2004 19:52, Eric Pugh wrote:
  Hi Niclas..  I think the fix isn't working..   Not sure what is going
  on.. also, on a related note, I switched to javamail-1.3, but it doesn't
  seem to pick it up as well...

 The version doesn't matter.
 What matters is the match between the Maven artifactID and the JAR ID of
 javamail.
 I will spend some time on it and see what I can dig up.

Ok, I think I have a solution in hand.
Next run of Gump will be 3.5 hours from now, so it will take 6 hours or so 
before we know.


Cheers
Niclas
-- 
   +--//---+
  / http://www.bali.ac/
 / http://niclas.hedhman.org / 
+--//---+


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



Re: How to refer to ws-xmlrpc as xmlrpc?

2004-10-21 Thread Niclas Hedhman
On Thursday 21 October 2004 05:56, Eric Pugh wrote:
 Okay..  Sorry for being dense but..  Where do I put this:

 maven.jar.artifactID = path to Jar

For all normal cases; You don't. It is done in the maven.py script.

I am not even sure it will work for non-normal cases, and if a proper 
classpath can be picked up at all, but I think IF it doesn, it would be 
something like;

maven goal=jar basedir=whatever 
  property name=maven.jar.abc project=abc-project id=IdOfAJar /
/maven

But I am not sure...

Cheers
Niclas
-- 
   +--//---+
  / http://www.bali.ac/
 / http://niclas.hedhman.org / 
+--//---+


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



RE: How to refer to ws-xmlrpc as xmlrpc?

2004-10-21 Thread Eric Pugh
Humm..   Okay..   But..  I am slowly getting it..

So, I ran into the same issue with the bsf.jar..  I call it bsf, but the
project is jakarta-bsf.

So, I add this:
maven basedir=bsf goal=jar 
  property name=maven.jar.bsf project=jakarta-bsf id=bsf.jar /
/maven

And, based on what you said, for the xmlrpc, I am adding this:
maven basedir=xmlrpc goal=jar 
  property name=maven.jar.xmlrpc project=ws-xmlrpc id=xmlrpc.jar
/
/maven

Hopefully this will work!   There is a light at the end of the project, more
of the fulcrum projects properly gumped last night!

Eric



 -Original Message-
 From: Niclas Hedhman [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 21, 2004 7:13 AM
 To: Gump code and data
 Subject: Re: How to refer to ws-xmlrpc as xmlrpc?


 On Thursday 21 October 2004 05:56, Eric Pugh wrote:
  Okay..  Sorry for being dense but..  Where do I put this:
 
  maven.jar.artifactID = path to Jar

 For all normal cases; You don't. It is done in the maven.py script.

 I am not even sure it will work for non-normal cases, and if a proper
 classpath can be picked up at all, but I think IF it doesn, it would be
 something like;

 maven goal=jar basedir=whatever 
   property name=maven.jar.abc project=abc-project id=IdOfAJar /
 /maven

 But I am not sure...

 Cheers
 Niclas
 --
+--//---+
   / http://www.bali.ac/
  / http://niclas.hedhman.org /
 +--//---+


 -
 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 refer to ws-xmlrpc as xmlrpc?

2004-10-21 Thread Niclas Hedhman
On Thursday 21 October 2004 16:57, Eric Pugh wrote:

 So, I add this:
   property name=maven.jar.bsf project=jakarta-bsf id=bsf.jar /
   property name=maven.jar.xmlrpc project=ws-xmlrpc id=xmlrpc.jar

No, the id refers to the declared id in the jar of the project (and I am not 
sure what that defaults to, btu I suspect not what you wrote).

The two projects you are referring to, are both declaring only one jar, in 
which case the id= above not necessary.

I have committed that change.

Cheers
Niclas

-- 
   +--//---+
  / http://www.bali.ac/
 / http://niclas.hedhman.org / 
+--//---+


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



Re: How to refer to ws-xmlrpc as xmlrpc?

2004-10-20 Thread Adam R. B. Jack
 For this project:

http://brutus.apache.org/gump/public/jakarta-turbine-fulcrum/fulcrum-xmlrpc/
 gump_work/build_jakarta-turbine-fulcrum_fulcrum-xmlrpc.html

 Maven is failing looking for xmlrpc as a dependency.  Unfortunantly, in
 Gump, xmlrpc is called ws-xmlrpc.  I already have the dependency:

It doesn't matter (so much) that Gump and Maven call the project something
different, although (over time) it might be nice to standardize. [It matters
only for the Maven Gump goal automatically generating the Gump descriptor.]

For now --- all that matters is that the Gump jar id matches the Maven
artifactId.

 depend project=ws-xmlrpc/

 From the docs, doing this isn't what I want: depend project=ws-xmlrpc
 ids=xmlrpc/, what about doing this: depend project=ws-xmlrpc
 id=xmlrpc/?

Stefano and I were just discussing this. The depend element is confusing,
and incompletely documented.

Looking at this, we have the simple case:

http://gump.apache.org/metadata/project.html#depend

There is a more complex case (barely mentioned in this part):

http://gump.apache.org/metadata/project.html#project

I believe the logic here (when a depend is inside ant or maven or
whatever) is that one sets attributes that are (1) a property name and (2)
an id (singular), and one effectively gets both a depend and a property.
Hmm, hold on  I found this documentation:

http://gump.apache.org/metadata/builder.html#depend

regards

Adam


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



RE: How to refer to ws-xmlrpc as xmlrpc?

2004-10-20 Thread Eric Pugh
So..  From looking at the third reference, and then looking at some
examples, what I want is this:

depend property=xmlrpc.jar project=ws-xmlrpc/

And then when Maven runs, it will look for xmlrpc.jar.  So, something is
telling Maven that it is NOT looking for xmlrpc-1.1.jar (which is what is
defined in project.xml) but instead to look for xmlrpc.jar.  And the depend
property=xmlrpc.jar project=ws-xmlrpc/ says go look at this project for
what you need..

Is this correct?

Eric

 -Original Message-
 From: Adam R. B. Jack [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 20, 2004 4:17 PM
 To: Gump code and data
 Subject: Re: How to refer to ws-xmlrpc as xmlrpc?


  For this project:
 
 http://brutus.apache.org/gump/public/jakarta-turbine-fulcrum/fulcr
um-xmlrpc/
 gump_work/build_jakarta-turbine-fulcrum_fulcrum-xmlrpc.html

 Maven is failing looking for xmlrpc as a dependency.  Unfortunantly, in
 Gump, xmlrpc is called ws-xmlrpc.  I already have the dependency:

It doesn't matter (so much) that Gump and Maven call the project something
different, although (over time) it might be nice to standardize. [It matters
only for the Maven Gump goal automatically generating the Gump descriptor.]

For now --- all that matters is that the Gump jar id matches the Maven
artifactId.

 depend project=ws-xmlrpc/

 From the docs, doing this isn't what I want: depend project=ws-xmlrpc
 ids=xmlrpc/, what about doing this: depend project=ws-xmlrpc
 id=xmlrpc/?

Stefano and I were just discussing this. The depend element is confusing,
and incompletely documented.

Looking at this, we have the simple case:

http://gump.apache.org/metadata/project.html#depend

There is a more complex case (barely mentioned in this part):

http://gump.apache.org/metadata/project.html#project

I believe the logic here (when a depend is inside ant or maven or
whatever) is that one sets attributes that are (1) a property name and (2)
an id (singular), and one effectively gets both a depend and a property.
Hmm, hold on  I found this documentation:

http://gump.apache.org/metadata/builder.html#depend

regards

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]



Re: How to refer to ws-xmlrpc as xmlrpc?

2004-10-20 Thread Niclas Hedhman
On Wednesday 20 October 2004 23:55, Eric Pugh wrote:
 So..  From looking at the third reference, and then looking at some
 examples, what I want is this:

 depend property=xmlrpc.jar project=ws-xmlrpc/

 And then when Maven runs, it will look for xmlrpc.jar.  So, something is
 telling Maven that it is NOT looking for xmlrpc-1.1.jar (which is what is
 defined in project.xml) but instead to look for xmlrpc.jar.  And the
 depend property=xmlrpc.jar project=ws-xmlrpc/ says go look at this
 project for what you need..

 Is this correct?

I don't think so. AFAIK, the only properties that Maven cares about are of the 
format;

maven.jar.artifactID = path to Jar

Cheers
Niclas

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



RE: How to refer to ws-xmlrpc as xmlrpc?

2004-10-20 Thread Eric Pugh
Okay..  Sorry for being dense but..  Where do I put this:

maven.jar.artifactID = path to Jar

?

Is this something that goes in project.properties?  Or does this go in the
jakarta-turbine-fulcrum.xml file someplace?

Eric

 -Original Message-
 From: Niclas Hedhman [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 20, 2004 7:19 PM
 To: Gump code and data
 Subject: Re: How to refer to ws-xmlrpc as xmlrpc?


 On Wednesday 20 October 2004 23:55, Eric Pugh wrote:
  So..  From looking at the third reference, and then looking at some
  examples, what I want is this:
 
  depend property=xmlrpc.jar project=ws-xmlrpc/
 
  And then when Maven runs, it will look for xmlrpc.jar.  So, something is
  telling Maven that it is NOT looking for xmlrpc-1.1.jar (which
 is what is
  defined in project.xml) but instead to look for xmlrpc.jar.  And the
  depend property=xmlrpc.jar project=ws-xmlrpc/ says go look at this
  project for what you need..
 
  Is this correct?

 I don't think so. AFAIK, the only properties that Maven cares
 about are of the
 format;

 maven.jar.artifactID = path to Jar

 Cheers
 Niclas

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