Re: xmlbeans-v1-test

2004-06-24 Thread Stefan Bodewig
On Wed, 23 Jun 2004, Kevin Krouse [EMAIL PROTECTED] wrote:

 I'd like to add a 'test' project that depends on the xml-xmlbeans'
 build and which runs the ant target 'drt' in
 xml-xmlbeans/v1/build.xml.

Sounds straight forward.  You need to get your dependencies correct,
though.  Without taking care of any dependencies this would be
something like

  project name=xml-xmlbeans-v1-test
ant basedir=v1 target=drt/
depend project=ant/
depend project=xml-xerces/
depend project=xml-xmlbeans-v1/
  /project

in project/xml-xmlbeans.xml in Gump's CVS module.  It will probably
need additional dependencies on JUnit and maybe other stuff as well.

 Robert Donkin suggested I post here and ask for gump karma

You already have it, if you have commit access to any Apache module,
nothing special needs to be done.

Go ahead and change the descriptor and then run ant verify in the top
level dir.  If you've made any big mistakes, this should tell you.
There are some errors currently, so if you see

gen:
 [java] Dropping project cocoon-block-mail because of Exception 
java.lang.Exception: project commons-beanutils not found processing project 
cocoon-block-scratchpad
 [java] Dropping project jakarta-jmeter-20-test because of Exception 
java.lang.Exception: A jar with id none was not found in project 
jakarta-jmeter-20-test referenced by project jakarta-jmeter-20-cvs
 [java] Dropping project jakarta-tapestry because of Exception 
java.lang.Exception: project commons-beanutils not found processing project 
jakarta-tapestry

this is not related to your change.

When in doubt, ask.  Otherwise, go ahead and commit our changes.

Cheers

Stefan

-- 
http://stefanbodewig.blogger.de/

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



cvs commit: gump/project xml-xindice.xml

2004-06-24 Thread bodewig
bodewig 2004/06/24 00:23:35

  Modified:project  xml-xindice.xml
  Log:
  Xindice needs xmlunit now
  
  Revision  ChangesPath
  1.32  +1 -0  gump/project/xml-xindice.xml
  
  Index: xml-xindice.xml
  ===
  RCS file: /home/cvs/gump/project/xml-xindice.xml,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- xml-xindice.xml   18 Mar 2004 23:31:36 -  1.31
  +++ xml-xindice.xml   24 Jun 2004 07:23:35 -  1.32
  @@ -41,6 +41,7 @@
   depend project=jakarta-servletapi/
   depend project=junit/
   depend project=junit-addons/
  +depend project=xmlunit/
   work nested=build/classes/
   
   home nested=dist/
  
  
  

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



dom4j project-descriptor clean up

2004-06-24 Thread Maarten Coene
Hi,
I was taking a look at the dom4j gump descriptor and compared it to the 
maven project.xml descriptor of dom4j, and I noticed some old 
dependencies that are no longer required by dom4j.

I think the following projects can be removed from the dom4j descriptor
- xml-fop
- xmldb
- tranquilo (is this the same as the xsdlib project )
- msv (in fact, dom4j only need the xsdlib.jar, not msv.jar)
- ant (or is this needed by gump to execute the build.xml file?)
In addition, the following dependencies should be added to the project 
descriptor:
- xsdlib
- xml-apis

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


Re: dom4j project-descriptor clean up

2004-06-24 Thread Stefan Bodewig
On Thu, 24 Jun 2004, Maarten Coene [EMAIL PROTECTED] wrote:

 I was taking a look at the dom4j gump descriptor and compared it to
 the maven project.xml descriptor of dom4j, and I noticed some old
 dependencies that are no longer required by dom4j.

I will look into it.

Gump uses Ant to build dom4j, not Maven - so Ant really is required.

Stefan

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



cvs commit: gump/project dom4j.xml

2004-06-24 Thread bodewig
bodewig 2004/06/24 05:26:08

  Modified:project  dom4j.xml
  Log:
  remove unneeded dependencies from dom4j, discovered by Maarten Coene
  
  Revision  ChangesPath
  1.42  +2 -4  gump/project/dom4j.xml
  
  Index: dom4j.xml
  ===
  RCS file: /home/cvs/gump/project/dom4j.xml,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- dom4j.xml 22 Jun 2004 07:19:00 -  1.41
  +++ dom4j.xml 24 Jun 2004 12:26:08 -  1.42
  @@ -35,15 +35,13 @@
   depend project=ant inherit=runtime/
   depend project=xml-xerces/
   depend project=junit/
  +depend project=xml-apis/
   depend project=xml-xalan2/
  -depend project=tranquilo/
   depend project=xpp/
   depend project=jaxen-from-packaged-dom4j/
  -depend project=xmldb/
  -depend project=msv/
  +depend project=xsdlib/
   depend project=relaxng/
   depend project=stax ids=api/
  -depend project=xml-fop inherit=runtime/
   depend project=jtidy/
   depend project=junitperf/
   
  
  
  

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



Re: dom4j project-descriptor clean up

2004-06-24 Thread Stefan Bodewig
On Thu, 24 Jun 2004, Stefan Bodewig [EMAIL PROTECTED] wrote:

 I will look into it.

Builds fine without them.

Thanks

Stefan

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



cvs commit: gump/python/gump/model project.py misc.py builder.py

2004-06-24 Thread ajack
ajack   2004/06/24 09:30:10

  Modified:python/gump/model Tag: CleanUp project.py misc.py builder.py
  Log:
  Was failing to add 'work' entries to CLASSPATH
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.85.2.9  +21 -13gump/python/gump/model/project.py
  
  Index: project.py
  ===
  RCS file: /home/cvs/gump/python/gump/model/project.py,v
  retrieving revision 1.85.2.8
  retrieving revision 1.85.2.9
  diff -u -r1.85.2.8 -r1.85.2.9
  --- project.py17 Jun 2004 21:27:07 -  1.85.2.8
  +++ project.py24 Jun 2004 16:30:09 -  1.85.2.9
  @@ -175,6 +175,7 @@
   
   def getDeletes(self): return self.deletes
   def getMkDirs(self): return self.mkdirs
  +def getWorks(self): return self.works
   
   def hasJars(self):
   return self.jars
  @@ -671,21 +672,28 @@
   #
   # Add the work directories
   #
  -for wdom in self.getDomChildIterator('work'):
  -path=None
  -if hasDomAttribute(wdom,'nested'):
  -nested=getDomAttributeValue(wdom,'nested')
  -path=os.path.abspath(os.path.join(workdir,nested))
  -elif hasDomAttribute(wdom,'parent'):
  -parent=getDomAttributeValue(wdom,'parent')
  -
path=os.path.abspath(os.path.join(self.getWorkspace().getBaseDirectory(),parent))
  +#for wdom in self.getDomChildIterator('work'):
  +#path=None
  +#if hasDomAttribute(wdom,'nested'):
  +#nested=getDomAttributeValue(wdom,'nested')
  +#path=os.path.abspath(os.path.join(workdir,nested))
  +#elif hasDomAttribute(wdom,'parent'):
  +#parent=getDomAttributeValue(wdom,'parent')
  +#
path=os.path.abspath(os.path.join(self.getWorkspace().getBaseDirectory(),parent))
  +#else:
  +#log.error(work element with neither 'nested' nor 'parent' 
attribute on  \
  +#+ self.getName() +  in  + self.getModule().getName())
  +#
  +#if path:
  +#if debug: print Work Entity:+ path   
  +#classpath.addPathPart(AnnotatedPath('',path,self,None,'Work 
Entity'))
  +for work in self.getWorks():
  +path=work.getResolvedPath()
  +if path:
  +classpath.addPathPart(AnnotatedPath('',path,self,None,'Work 
Entity'))   
   else:
   log.error(work element with neither 'nested' nor 'parent' 
attribute on  \
  -+ self.getName() +  in  + self.getModule().getName())
  -
  -if path:
  -if debug: print Work Entity:+ path   
  -classpath.addPathPart(AnnotatedPath('',path,self,None,'Work 
Entity'))
  ++ self.getName() +  in  + self.getModule().getName()) 
 
   # Append dependent projects (including optional)
   visited=[]
  
  
  
  1.1.2.5   +0 -1  gump/python/gump/model/Attic/misc.py
  
  Index: misc.py
  ===
  RCS file: /home/cvs/gump/python/gump/model/Attic/misc.py,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u -r1.1.2.4 -r1.1.2.5
  --- misc.py   21 Jun 2004 15:53:30 -  1.1.2.4
  +++ misc.py   24 Jun 2004 16:30:09 -  1.1.2.5
  @@ -158,7 +158,6 @@
   def __init__(self,dom,owner):
   Resolvable.__init__(self,dom,owner)
   
  -

   class DirResolvable(ModelObject):
   
  
  
  
  1.1.2.5   +2 -2  gump/python/gump/model/builder.py
  
  Index: builder.py
  ===
  RCS file: /home/cvs/gump/python/gump/model/builder.py,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u -r1.1.2.4 -r1.1.2.5
  --- builder.py17 Jun 2004 20:16:01 -  1.1.2.4
  +++ builder.py24 Jun 2004 16:30:09 -  1.1.2.5
  @@ -211,9 +211,9 @@
Builder.__init__(self,dom,project)
 
   # Import the target
  -self.target=self.getDomAttributeValue('target') # :TODO: Soon add 
..,'gump') 
  +self.target=self.getDomAttributeValue('target') # :TODO: Soon add ... 
,'gump')   
   # Import the buildfile
  -self.buildfile=self.getDomAttributeValue('buildfile','build.xml')
  +self.buildfile=self.getDomAttributeValue('buildfile') # :TODO: Soon add ... 
,'build.xml')

   def getTarget(self):
   return self.target
  
  
  

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



[Gump Wiki] Updated: BrutusConfig/NightlyBuild

2004-06-24 Thread general
   Date: 2004-06-24T11:34:15
   Editor: 130.89.169.128 
   Wiki: Gump Wiki
   Page: BrutusConfig/NightlyBuild
   URL: http://wiki.apache.org/gump/BrutusConfig/NightlyBuild

   actually updating makes sense...

Change Log:

--
@@ -122,6 +122,11 @@
 find -name '*.log' -or -name target -or -name build | xargs rm -Rf 21 31 41 
51 61 71 81 91  $log
 echo  $log
   
+echo Running command: $repo up 21 31 41 51 61 71 81 91  $log
+echo --
+$eval $repo up 21 31 41 51 61 71 81 91  $log
+echo --
+
 echo Running command: $cmd $target 21 31 41 51 61 71 81 91  $log
 echo ---  
$log
 eval $cmd $target 21 31 41 51 61 71 81 91  $log

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



Re: Infrastructural stuff

2004-06-24 Thread Adam R. B. Jack
Any other takers on this one? I'd like to compare/contrast the new branch
build to the live build, to see how far I am from done  ready to merge.
Having it public would be helpful 'cos I could get more eyes on it.

regards

Adam
- Original Message - 
From: Adam R. B. Jack [EMAIL PROTECTED]
To: Gump code and data [EMAIL PROTECTED]
Sent: Tuesday, June 22, 2004 4:09 PM
Subject: Re: Infrastructural stuff


 The proxy pass would be nice for http://brutus.apache.org/gump/public to
the
 http://brutus.apache.org:8080/gump. But that isn't my #1 (for moving
ahead),
 it is just cosmetic (see the HTML message in former).

 For me, for testing the new branch, I really just need /gump/jdk15 (a lie,
 it is still jdk 1.4, but with CleanUp branch) to come from
 /usr/local/gump/jdk15/results (the log for that workspace).

 There are two separate JIRA entries.

 Thanks a bunch.

 regards

 Adam
 - Original Message - 
 From: Scott Sanders [EMAIL PROTECTED]
 To: Gump code and data [EMAIL PROTECTED]
 Sent: Tuesday, June 22, 2004 3:37 PM
 Subject: Re: Infrastructural stuff


  You just want a ProxyPass, correct?  If so, as soon as I get home this
  Friday, I can do it.  I am currently having a problem where my laptop
  (OS X) gets the ssh connection closed immediately from both
  cvs.apache.org and brutus.apache.org.  Works fine from my Windows
  desktop at home, though.
 
  Scott
 
  On Jun 22, 2004, at 2:05 PM, Adam R. B. Jack wrote:
 
   not for me. I just have a ton of TODO items, no time, bad health.
Gump
   stuff is on the list. Hope to get some of this done this week.
  
   On, now that I know that  please remove the Gump stuff from your
   list,
   and focus on health and time for you. I can live w/o this stuff (and
   work on
   Depot for a while). Alternatively I'll keep bugging this list, and try
   to
   persuade some other member to help me w/ the HTTPD config change.
  
   Get well soon.
  
   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]
 


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



cvs commit: gump/python/gump/test model.py

2004-06-24 Thread ajack
ajack   2004/06/24 13:15:56

  Modified:python/gump/model Tag: CleanUp project.py object.py
module.py workspace.py
   python/gump/loader Tag: CleanUp loader.py
   python/gump/test Tag: CleanUp model.py
  Log:
  Working on a splice (override) problem.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.85.2.10 +19 -5 gump/python/gump/model/project.py
  
  Index: project.py
  ===
  RCS file: /home/cvs/gump/python/gump/model/project.py,v
  retrieving revision 1.85.2.9
  retrieving revision 1.85.2.10
  diff -u -r1.85.2.9 -r1.85.2.10
  --- project.py24 Jun 2004 16:30:09 -  1.85.2.9
  +++ project.py24 Jun 2004 20:15:55 -  1.85.2.10
  @@ -4,7 +4,7 @@
   #
   # Licensed under the Apache License, Version 2.0 (the License);
   # you may not use this file except in compliance with the License.
  -# You may obtain a copy of the License atg
  +# You may obtain a copy of the License at
   # 
   # http://www.apache.org/licenses/LICENSE-2.0
   # 
  @@ -178,7 +178,8 @@
   def getWorks(self): return self.works
   
   def hasJars(self):
  -return self.jars
  +if self.jars: return True
  +return False
   
   def getJars(self):
   return self.jars.values()
  @@ -276,7 +277,7 @@
   return (not self.isPackaged()) and self.hasBuildCommand()
   
   # provide elements when not defined in xml
  -def complete(self,workspace):
  +def complete(self,workspace): 
   if self.isComplete(): return
   
   if not self.inModule():
  @@ -293,6 +294,7 @@
   # Packaged Projects don't need the full treatment..
   #
   packaged=self.isPackaged()
  +if packaged: print 'PACKAGE ?' + `self`
   
   # Import any ant part [if not packaged]
   if self.hasDomChild('ant') and not packaged:
  @@ -371,13 +373,21 @@
   else:
   self.addError('Missing \'name\' on license')
   
  +if packaged: 
  +print 'PACKAGE w/ JARS?'+ `self`
  +print self.getXml()
  +
   #
   # Resolve jars (outputs)
   #
   for jdom in self.getDomChildIterator('jar'):
   name=self.expandVariables(
   getDomAttributeValue(jdom,'name'))
  +
  +if packaged:   print 'NAME: ' + name
  +
   if self.home and name:
  +if packaged: print 'NAME2: ' + self.home + ':' + name
   jar=Jar(name,jdom,self)
   jar.complete()
   jar.setPath(os.path.abspath(os.path.join(self.home,name)))
  @@ -385,9 +395,7 @@
   else:
   self.addError('Missing \'name\' on jar')
   
  -#
   # Fix 'ids' on all Jars which don't have them
  -#
   if self.hasJars():
   if 1 == self.getJarCount():
   jar=self.getJarAt(0)
  @@ -597,6 +605,12 @@
   self.maven.dump(indent+1,output)
   if self.script:
   self.script.dump(indent+1,output)
  +
  +for work in self.works:
  +work.dump(indent+1,output)
  +
  +for jar in self.getJars():
  +jar.dump(indent+1,output)
   
   #
   # Return a list of the outputs this project generates
  
  
  
  1.24.2.6  +6 -0  gump/python/gump/model/object.py
  
  Index: object.py
  ===
  RCS file: /home/cvs/gump/python/gump/model/object.py,v
  retrieving revision 1.24.2.5
  retrieving revision 1.24.2.6
  diff -u -r1.24.2.5 -r1.24.2.6
  --- object.py 14 Jun 2004 13:38:04 -  1.24.2.5
  +++ object.py 24 Jun 2004 20:15:55 -  1.24.2.6
  @@ -227,8 +227,14 @@
   
   def splice(self,dom): 
   # Import overrides from DOM
  +print 'PRE=SPLICE'
  +self.dump()
  +print self.getXml()
   transferDomInfo(dom, self, {})   
   self.setSpliced(True) 
  +print 'POST=SPLICE'
  +self.dump()
  +print self.getXml()

   def complete(self):
   if self.isComplete(): return
  
  
  
  1.45.2.7  +9 -9  gump/python/gump/model/module.py
  
  Index: module.py
  ===
  RCS file: /home/cvs/gump/python/gump/model/module.py,v
  retrieving revision 1.45.2.6
  retrieving revision 1.45.2.7
  diff -u -r1.45.2.6 -r1.45.2.7
  --- module.py 16 Jun 2004 19:42:02 -  1.45.2.6
  +++ module.py 24 Jun 2004 20:15:55 -  1.45.2.7
  @@ -362,15 +362,15 @@
   self.addError('No such repository ['+ str(repoName)