Re: cvs commit: gump/project jakarta-commons-codec-11.xml

2004-06-13 Thread Stefan Bodewig
On Fri, 11 Jun 2004, Adam R. B. Jack <[EMAIL PROTECTED]> wrote:

> Does your packages script treat LSD as the 'master'?

Nope, it is driven by a script on my development box - nothing
automatic at all.  Unfortunately I'm less often at my machine than in
some train/plane lately, so I'm merely trying to catch up before I
leave for the next turn currently.

Stefan

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



Re: Gump compatible ant tasks and data types

2004-06-13 Thread Niclas Hedhman
On Monday 14 June 2004 08:15, Stephen McConnell wrote:
> So - the questions is ... is there a nice small gump API I can build
> against that would enable the possibility for a totally integrated
> solution?

Gump is in Python, and I haven't heard of any Java->Gump binding...

If so, what more precisely do you expect?


Cheers
Niclas

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


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



Gump compatible ant tasks and data types

2004-06-13 Thread Stephen McConnell
Hi guys!
Sorry - but this is a longish email.
I'm starting to entertain some thoughts concerning the integration of 
gump into a set of custom ant tasks and data types that I'm using to 
build Avalon.  Initially I was thinking about generating gump 
descriptors - but I'm starting to think that this is the wrong direction 
and that I should really be looking into task and datatype integration.

What I have in place is a small model that defines a project in terms of 
dependencies and plug-ins.  These description are sufficient to create 
six different path constructs required to build respective target project.

These path constructs include:
  1. main java compile classpath
  2. unit test classpath
  3. runtime api classpath
  4. runtime spi classpath
  5. runtime implementation classpath
  6. composite runtime (4+5+6)
This information is constructed from a small project descriptor.  The 
following example shows the avalon activation package which is itself a 
plugin within another package.


  
avalon/activation
avalon-activation-impl
2.0.0
  
  









  

In the above example an  element holds a key to another 
project or external resource definition.  For example, 
'avalon-util-lifecycle' is the key to another project that contains 
dependencies on 'avalon-framework-api'.  In turn, the framework api 
definition references the logkit project.  Logkit references a bunch of 
external resources including log4j, servletapi, mailapi and jms.

From the point of view of gump integration - all of the tasks that are 
used in this build solution use a common project model to establish any 
of the six principal path definitions.  For example, the following java 
source from a typical task implementation demonstrates how an ant path 
is constructed:

  ResourceRef ref = new ResourceRef( getKey() );
  Definition definition = getHome().getDefinition( ref );
  Path classpath = definition.getPath( project, Policy.BUILD );
The Definition.getPath(..) method is basically building an ant path 
based on the xml project descriptor shown above.  It seems to me that it 
would make a lot of sense for implementation of Definition.getPath(..) 
to link into a small Gump API when resolving the path values.

The essence of the getPath( .. ) method is :
  public Path getPath( Project project, int mode )
  {
  Path path = new Path( project );
  ResourceRef[] refs =
 getResourceRefs( mode, ResourceRef.ANY, true );
  for( int i=0; i
From the above - the important lines with respect to Gump integration 
is the the following:

   Resource resource = getHome().getResource( ref );
   File file = resource.getArtifact( project );
   path.createPathElement().setLocation( file );
Currently, the getArtifact(..) operation pulls in resources from a local 
cache (backed by a number of repositories) based on resource identifier 
information include group, resource name and version.  My theory is that 
I should be able to call runtime gump and request the gump artifact for 
a particular group/name combination.

So - the questions is ... is there a nice small gump API I can build 
against that would enable the possibility for a totally integrated solution?

Cheers, Steve.
--
|---|
| Magic by Merlin   |
| Production by Avalon  |
|   |
| http://avalon.apache.org  |
|---|
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: (CVS & SVN) Re: [VOTE] retire java gump

2004-06-13 Thread Michael Davey
Adam R. B. Jack wrote:
We could take the opportunity to:
1) Move Gump (Python) core to SVN
2) Move Gump Metadata to a separate CVS repository [to move to SVN one day
in the future, when all ASF committer are "comfortable" w/ SVN].
We could leave the current repository as is, tagged but even CVS HEAD
stable, for automated Gumps out there that depend upon things there.
 

+1
My main concern
at the moment is that python gump seems a /lot/ slower than java gump on
my under-powered, over-worked Sun Ultra 5.  On that machine a Java gump
run would take in the order of 19 hours.  I started a Python gump run on
the 6th June at 2.33pm local time and it still isn't finished (as of the
8th June at 5.05pm).
   

Performance has become my bugbear w/ this stuff. I just don't get the
language well enough to be able to crack it.
I've just completed another full gump run (same definition as the public 
gumps).  I started the run at Thu Jun 10 08:16:23 WEST 2004 but Gump 
says the run started at Thu, 10 Jun 2004 08:23:40 (WEST), some 7 minutes 
later.  Gump says the run finished at Sat, 12 Jun 2004 21:28:52 (WEST) 
but the process actually terminated at Sun Jun 13 02:26:12 WEST 2004, 
some 5 hours later.  What was Gump doing during this time?

I also tried gumping just ant, which took 4 hours.
FWIIW: I find small (50 project) workspaces zip by, but large ones (500+)
seem to creep.
BTW: How many projects do you have in this workspace? What is the purpose of
it? Do you "trim/tailor" the project sequence by passing "myproj*" project
masks?
BTW: Do you use forrest batch, or not forrest xdocs?
 

I think I can answer that one by saying "I don't know - the default".  
Could you point me to some docs that describe how to set up the other?

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