BATCH: All dressed up, with nowhere to go...

2004-04-12 Thread gump
Dear Gumpmeisters,

The following 9 nags should have been sent

 G U M P
[EMAIL PROTECTED]: webwork/webwork failed
[EMAIL PROTECTED]: freemarker/freemarker failed
[EMAIL PROTECTED]: jakarta-tapestry/ognl failed
[EMAIL PROTECTED]: struts-sslext/struts-sslext failed
[EMAIL PROTECTED]: javasrc/javasrc failed
[EMAIL PROTECTED]: xml-xerces/xml-xerces1 failed
[EMAIL PROTECTED]: jakarta-turbine-tdk/jakarta-turbine-tdk-docs failed
[EMAIL PROTECTED]: eyebrowse/eyebrowse failed
[EMAIL PROTECTED]: jgen/jgen failed
 G U M P
[EMAIL PROTECTED]: webwork/webwork failed
To whom it may engage...

This is an automated request, but not an unsolicited one. For help 
understanding the request please visit 
http://gump.apache.org/nagged.html, 
and/or contact [EMAIL PROTECTED]

Project webwork has an issue affecting its community integration. This issue affects 1 
projects, and has been outstanding for 3 runs. The current state is 'Failed', for 
reason 'Build Failed'

Full details are available at: 
http://lsd.student.utwente.nl/gump/webwork/webwork/index.html, however some snippets 
follow:

-  -  -  -  - -- --  G U M P

Gump provided these annotations:

 - Info - Enable "verbose" output, due to 2 previous error(s).
 - Info - Failed with reason build failed
 - Info - Enable "debug" output, due to build failure.


-  -  -  -  - -- --  G U M P
Gump performed this work:

http://lsd.student.utwente.nl/gump/webwork/webwork/gump_work/build_webwork_webwork.html
Work Name: build_webwork_webwork (Type: Build)
State: Failed
Elapsed: 0 hours, 0 minutes, 24 seconds
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/data3/gump/xml-xerces2/java/build/xercesImpl.jar:/data3/gump/xml-xerces2/java/build/xml-apis.jar:/data3/gump/xml-xalan/java/build/xalan-unbundled.jar:/data3/gump/xml-commons/java/external/build/xml-apis.jar
 org.apache.tools.ant.Main -verbose 
-Dgump.merge=/data3/gump/gump-install/work/merge.xml -Dbuild.sysclasspath=only 
[Working Directory: /data3/gump/webwork]
-
[javac] 
/data3/gump/webwork/src/main/webwork/multipart/WebworkMultiPartRequest.java:69: cannot 
resolve symbol
[javac] symbol  : class MultipartListener 
[javac] location: class webwork.multipart.WebworkMultiPartRequest
[javac] MultipartListener listener = new MultipartListener()
[javac] ^
[javac] 
/data3/gump/webwork/src/main/webwork/multipart/WebworkMultiPartRequest.java:69: cannot 
resolve symbol
[javac] symbol  : class MultipartListener 
[javac] location: class webwork.multipart.WebworkMultiPartRequest
[javac] MultipartListener listener = new MultipartListener()
[javac]  ^
[javac] 
/data3/gump/webwork/src/main/webwork/multipart/WebworkMultiPartRequest.java:92: cannot 
resolve symbol
[javac] symbol  : class MultipartRequest 
[javac] location: class webwork.multipart.WebworkMultiPartRequest
[javac]   multi = new MultipartRequest(req.getContentType(),
[javac]   ^
[javac] 
/data3/gump/webwork/src/main/webwork/multipart/WebworkMultiPartRequest.java:96: cannot 
resolve symbol
[javac] symbol  : variable MultipartRequest 
[javac] location: class webwork.multipart.WebworkMultiPartRequest
[javac]
MultipartRequest.IGNORE_FILES_IF_MAX_BYES_EXCEEDED,
[javac]^
[javac] 
/data3/gump/webwork/src/main/webwork/multipart/WebworkMultiPartRequest.java:102: 
cannot resolve symbol
[javac] symbol  : class MultipartRequest 
[javac] location: class webwork.multipart.WebworkMultiPartRequest
[javac]   multi = new MultipartRequest(req.getContentType(),
[javac]   ^
[javac] 
/data3/gump/webwork/src/main/webwork/multipart/WebworkMultiPartRequest.java:107: 
cannot resolve symbol
[javac] symbol  : variable MultipartRequest 
[javac] location: class webwork.multipart.WebworkMultiPartRequest
[javac]
MultipartRequest.IGNORE_FILES_IF_MAX_BYES_EXCEEDED,
[javac]^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 15 errors

BUILD FAILED
/data3/gump/webwork/build.xml:167: Compile failed; see the compiler error output for 
details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:938)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:268)
at org.apache.tools.ant.Task.perform(Task.java:363)
at org.apache.tools.ant.Target.execute(Target.java:301)
at org.apache.tools.ant.Target.performTas

Cocoon 'notifications'

2004-04-12 Thread Adam R. B. Jack
The 'from' address here is bogus, it is 'Gump':

http://lsd.student.utwente.nl/gump/cocoon-2.1/cocoon/index.html#Details

1) How do we try to detect if apache SMTP infrastructure is dumping the
message?
2) Anybody on that list know if things are getting through?

regards

Adam
--
Experience the Unwired Enterprise:
http://www.sybase.com/unwiredenterprise
Try Sybase: http://www.try.sybase.com


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



OGNL on Gump...

2004-04-12 Thread Adam R. B. Jack
The Tapestry Gump descriptor references OGNL, which no longer seems included
in the CVS tree. Is it no longer needed?


http://cvs.apache.org/viewcvs/~checkout~/jakarta-tapestry/support/gump.xml


http://lsd.student.utwente.nl/gump/jakarta-tapestry/ognl/index.html#Annotations

If not, could we remove it since it is stopping tapestry from building?


http://lsd.student.utwente.nl/gump/jakarta-tapestry/jakarta-tapestry/index.html

regards

Adam
--
Experience the Unwired Enterprise:
http://www.sybase.com/unwiredenterprise
Try Sybase: http://www.try.sybase.com


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



[OT] testing frameworks in python

2004-04-12 Thread Leo Simons
http://www-106.ibm.com/developerworks/linux/library/l-cptest.html?ca=dgr-lnxw01TestFramePyth

found via slashdot (!)

--
cheers,
- Leo Simons

---
Weblog  -- http://leosimons.com/
Component Community -- http://componentplanet.org/
Component Glue  -- http://jicarilla.org/
---
"We started off trying to set up a small anarchist community, but
 people wouldn't obey the rules."
-- Alan Bennett
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: gump/python/gump/document forrest.py

2004-04-12 Thread ajack
ajack   2004/04/12 14:39:58

  Modified:python/gump/document forrest.py
  Log:
  Fix depth for state icons in ServerLinks.
  
  Revision  ChangesPath
  1.144 +1 -1  gump/python/gump/document/forrest.py
  
  Index: forrest.py
  ===
  RCS file: /home/cvs/gump/python/gump/document/forrest.py,v
  retrieving revision 1.143
  retrieving revision 1.144
  diff -u -r1.143 -r1.144
  --- forrest.py12 Apr 2004 21:12:00 -  1.143
  +++ forrest.py12 Apr 2004 21:39:58 -  1.144
  @@ -1791,7 +1791,7 @@
   if statePair:
   xdocNode.createBreak()
   # Insert the Icon...
  -if -1 <> depth:
  +if -1 == depth:
   depth=getDepthForObject(linkable)
   self.insertStatePairIconAtDepth(xdocNode,statePair,depth)  
   
  
  
  

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



cvs commit: gump/python/gump/document forrest.py

2004-04-12 Thread ajack
ajack   2004/04/12 14:12:00

  Modified:python/gump/document forrest.py
  Log:
  Leave xdocs around, if forrest fails, for manual debugging.
  
  Revision  ChangesPath
  1.143 +4 -1  gump/python/gump/document/forrest.py
  
  Index: forrest.py
  ===
  RCS file: /home/cvs/gump/python/gump/document/forrest.py,v
  retrieving revision 1.142
  retrieving revision 1.143
  diff -u -r1.142 -r1.143
  --- forrest.py12 Apr 2004 19:12:34 -  1.142
  +++ forrest.py12 Apr 2004 21:12:00 -  1.143
  @@ -200,7 +200,10 @@
   # 
   # Clean up
   wipeDirectoryTree(stagingDirectory)
  -wipeDirectoryTree(forrestWorkDir)
  +
  +# Clean only if successful.
  +if  (forrestResult.state==CMD_STATE_SUCCESS):
  +wipeDirectoryTree(forrestWorkDir)
   except:
   log.error('--- Failed to staging->log sync and/or clean-up', 
exc_info=1)
   success=0
  
  
  

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



cvs commit: gump/python/gump/document forrest.py

2004-04-12 Thread ajack
ajack   2004/04/12 12:12:34

  Modified:python/gump/document forrest.py
  Log:
  Try to fix server link table layout (img w.r.t text)
  
  Revision  ChangesPath
  1.142 +1 -1  gump/python/gump/document/forrest.py
  
  Index: forrest.py
  ===
  RCS file: /home/cvs/gump/python/gump/document/forrest.py,v
  retrieving revision 1.141
  retrieving revision 1.142
  diff -u -r1.141 -r1.142
  --- forrest.py12 Apr 2004 18:57:37 -  1.141
  +++ forrest.py12 Apr 2004 19:12:34 -  1.142
  @@ -1790,7 +1790,7 @@
   # Insert the Icon...
   if -1 <> depth:
   depth=getDepthForObject(linkable)
  -self.insertStatePairIconAtDepth(dataNode,statePair,depth)  
  +self.insertStatePairIconAtDepth(xdocNode,statePair,depth)  
   
   if utcTime:
   xdocNode.createBreak()
  
  
  

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



cvs commit: gump/python/gump __init__.py config.py

2004-04-12 Thread ajack
ajack   2004/04/12 12:03:57

  Modified:python/gump/model workspace.py
   python/gump __init__.py config.py
  Log:
  Don't show local timezone when in UTC.
  
  Revision  ChangesPath
  1.45  +2 -2  gump/python/gump/model/workspace.py
  
  Index: workspace.py
  ===
  RCS file: /home/cvs/gump/python/gump/model/workspace.py,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- workspace.py  11 Apr 2004 15:18:43 -  1.44
  +++ workspace.py  12 Apr 2004 19:03:56 -  1.45
  @@ -88,7 +88,7 @@
   
   # :TODO: Ensure no clock ticks between these two,
   # i.e. make one.
  -self.startDateTimeUtc=time.strftime(setting.datetimeformat, \
  +self.startDateTimeUtc=time.strftime(setting.utcdatetimeformat, \
   time.gmtime())
   self.startDateTime=time.strftime(setting.datetimeformat, \
   time.localtime())
  @@ -104,7 +104,7 @@
   
   # :TODO: Ensure no clock ticks between these two,
   # i.e. make one.
  -self.endDateTimeUtc=time.strftime(setting.datetimeformat, \
  +self.endDateTimeUtc=time.strftime(setting.utcdatetimeformat, \
   time.gmtime())
   self.endDateTime=time.strftime(setting.datetimeformat, \
   time.localtime())
  
  
  
  1.22  +4 -5  gump/python/gump/__init__.py
  
  Index: __init__.py
  ===
  RCS file: /home/cvs/gump/python/gump/__init__.py,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- __init__.py   12 Apr 2004 18:57:37 -  1.21
  +++ __init__.py   12 Apr 2004 19:03:56 -  1.22
  @@ -72,9 +72,8 @@
   # Either python-2.3 or http://www.red-dove.com/python_logging.html
   import logging
   
  -
   # tell Python what modules make up the gump package
  -__all__ = ["config"]
  +# __all__ = ["config"]
   
   # base gump logger
   log = logging.getLogger(__name__)
  
  
  
  1.20  +2 -0  gump/python/gump/config.py
  
  Index: config.py
  ===
  RCS file: /home/cvs/gump/python/gump/config.py,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- config.py 5 Apr 2004 15:53:10 -   1.19
  +++ config.py 12 Apr 2004 19:03:56 -  1.20
  @@ -93,6 +93,8 @@
   
   datetimeformat='%a, %d %b %Y %H:%M:%S (%Z)'
   timeformat='%H:%M:%S (%Z)'
  +utcdatetimeformat='%a, %d %b %Y %H:%M:%S (UTC)'
  +utctimeformat='%H:%M:%S (UTC)'
   
   timeout=60*60 # 60 minutes (in seconds)
   timeoutCommand=0
  
  
  

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



cvs commit: gump/project depot.xml

2004-04-12 Thread ajack
ajack   2004/04/12 11:57:37

  Modified:python/gump/model project.py stats.py
   python/gump/utils work.py __init__.py http.py tools.py
sync.py
   .gumpy.py
   python/gump check.py commandLine.py debug.py __init__.py
gumpenv.py engine.py build.py
   python/gump/document forrest.py
   python   header.txt
   project  depot.xml
  Added:   .commitCheck.py
  Log:
  1) working on commitCheck.py

  2) working on results from PyChecker

  3) See if have fixed wrapLine (was passing params in wrong order)
  
  Revision  ChangesPath
  1.74  +2 -3  gump/python/gump/model/project.py
  
  Index: project.py
  ===
  RCS file: /home/cvs/gump/python/gump/model/project.py,v
  retrieving revision 1.73
  retrieving revision 1.74
  diff -u -r1.73 -r1.74
  --- project.py8 Apr 2004 14:14:23 -   1.73
  +++ project.py12 Apr 2004 18:57:36 -  1.74
  @@ -974,9 +974,8 @@
   """ Display the contents of this object """
   output.write(getIndent(indent)+'Project: ' + self.getName() + '\n')
   NamedModelObject.dump(self, indent+1, output)
  -
  -for dependency in self.depends:
  -dependency.dump(indent+1,output)
  +
  +Dependable.dump(self,indent,output)
   
   if self.ant:
   self.ant.dump(indent+1,output)
  
  
  
  1.18  +4 -4  gump/python/gump/model/stats.py
  
  Index: stats.py
  ===
  RCS file: /home/cvs/gump/python/gump/model/stats.py,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- stats.py  3 Apr 2004 17:32:18 -   1.17
  +++ stats.py  12 Apr 2004 18:57:36 -  1.18
  @@ -63,8 +63,8 @@
   # 'odds of success' (based off historical results).
   #
   def getHistoricalOddsOfSuccess(self):
  -good=self.successes
  -bad=(self.failures+self.prereqs)
  +good=self.successes or 0
  +bad=(self.failures+self.prereqs) or 0
   total=(good+bad) or 1
   return float(good)/float(total)
   
  @@ -117,9 +117,9 @@
   if not self.first:
   self.first=self.last
   elif statable.isFailed():
  -s.failures += 1
  +self.failures += 1
   elif statable.isPrereqFailed():
  -s.prereqs  += 1
  +self.prereqs  += 1
   
   elif statable.isFailed():
   self.failures += 1
  
  
  
  1.14  +1 -0  gump/python/gump/utils/work.py
  
  Index: work.py
  ===
  RCS file: /home/cvs/gump/python/gump/utils/work.py,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- work.py   15 Mar 2004 22:07:06 -  1.13
  +++ work.py   12 Apr 2004 18:57:36 -  1.14
  @@ -24,6 +24,7 @@
   from gump.model.state import *
   from gump.utils.owner import *
   from gump.utils.launcher import *
  +from gump.utils import *
   
  
   WORK_TYPE_CHECK=1
  
  
  
  1.29  +2 -2  gump/python/gump/utils/__init__.py
  
  Index: __init__.py
  ===
  RCS file: /home/cvs/gump/python/gump/utils/__init__.py,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- __init__.py   9 Apr 2004 22:38:25 -   1.28
  +++ __init__.py   12 Apr 2004 18:57:36 -  1.29
  @@ -169,7 +169,7 @@
   
   return (hours, mins, secs)
   
  -def secsToElapsedString(secs):
  +def secsToElapsedTimeString(secs):
   return elapsedTimeTripleToString(secsToElapsedTimeTriple(secs))   
   
   def elapsedTimeTripleToString(elapsed):
  @@ -404,7 +404,7 @@
 #dump(log)
   
 print "secsToElapsedTimeTriple(1340) : " + str(secsToElapsedTimeTriple(1340))
  -  print "secsToElapsedString(1340) : " + secsToElapsedString(1340)
  +  print "secsToElapsedTimeString(1340) : " + secsToElapsedTimeString(1340)
 print "secsToTime(1340) : " + secsToTime(1340)
 print "elapsedTimeTripleToString(secsToElapsedTimeTriple(1340)) : " + 
elapsedTimeTripleToString(secsToElapsedTimeTriple(1340))
 print "Date (for SMTP) : " + time.strftime('%d %b %y %H:%M:%S')
  
  
  
  1.9   +0 -1  gump/python/gump/utils/http.py
  
  Index: http.py
  ===
  RCS file: /home/cvs/gump/python/gump/utils/http.py,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- http.py   16 Mar 2004 19:50:15 -  1.8
  +++ http.py   12 Apr 2004 18:57:36 -  1.9
  

Need help with : pydoc & pychecker

2004-04-12 Thread Adam R. B. Jack
PyChecker (http://pychecker.sourceforge.net ) ought save us from some
runtime errors. It is like lint.

Also, to promote team development successes we need to share information
(especially on classes and such).  I've been thinking about Javadoc-style
docs and tried getting a site like that out of pydoc, but failed. I
incorrectly assumed how it ought work, and as such missed the point.

[I think that is common with Python, it just isn't Java (however similar
much of it looks.) I just need to keep a fresh/open mind with this stuff.]

Anyway, I am having problems but I don't want to give up. I think this is
important. I think we need both pychecker (or similar) and pydoc working to
help Gump fly as a python project. If anybody can help (through looking at
docs/tinkering along with me, or from experience) please do.

PYCHECKER:

I can manually run pychecker (once installed) on our code. I can't (however)
seem to pass it 'gump' and have it read all modules/packages below gump.
Maybe it is just not used that way, but maybe that is 'cos we have problems
with __all__ in our packages. [Run pydoc to see the __all__ issue.]

I am trying to create (another) commitCheck.py to run before doing a commit.
I want that to run pychecker. I could fork the thing (and am about to try)
but I tried using the import solution. Python is quite wacky at times, and I
think (from best I can tell from docs/code) that the import runs the code, I
don't need to call some check() method.  [This is a shame, 'cos I don't
think I can test for problems or not. I've tried this, but it doesn't seem
to work. Any thoughts?

try:
# :TODO: PyChecker
check=''
for m in ['gump','gump/document','gump/model']:
if check: check += ' '
mPath=os.path.join(absGumpPython,m)
check += str(mPath)
print "Python Checker : [" + check + "]"
os.environ['PYCHECKER'] = check
import pychecker.checker
except:
print 'Failed to PyChecker code...'
pass


PYDOC:

I've not managed to get a site built by pydoc, it seems to like to run
interactively or as it's own WWW server. This is cool. Go into the
gump/python directory, set PYTHONPATH=`pwd`, then run:

python C:\Python23\lib\pydoc.py -p 1234 gump

and browsed:

http://localhost:1234/

I wonder if we ought run an instance of this on one of the Apache servers
and point it at a version of Gump that we checkout from CVS each night.

BTW: If you do both you'll see a problem we seem to have with our source
code, that is stopping it from working correctly/fully. Help appreciated.

regards,

Adam
--
Experience the Unwired Enterprise:
http://www.sybase.com/unwiredenterprise
Try Sybase: http://www.try.sybase.com


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