ajack 2003/10/18 17:09:10
Modified: python/gump model.py
Log:
Inherit w/ ids=[ id] if <ant <depend id= is set
Revision Changes Path
1.30 +10 -4 jakarta-gump/python/gump/model.py
Index: model.py
===================================================================
RCS file: /home/cvs/jakarta-gump/python/gump/model.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- model.py 18 Oct 2003 23:54:20 -0000 1.29
+++ model.py 19 Oct 2003 00:09:10 -0000 1.30
@@ -387,7 +387,13 @@
depend=Depend({'project':property.project})
if not property.classpath: depend['noclasspath']=Single({})
if property.runtime: depend['runtime']=property.runtime
+
+ #
+ # :TODO: AJ added this, no idea if it is right/needed.
+ #
if property.id: depend['ids']= [ property.id ]
+
+ # Add depend to project...
project.depend.append(depend)
#
@@ -472,7 +478,7 @@
except Exception, details:
log.warn( "Cannot resolve jarpath of " + self.project + \
" for " + project.name + ". Details: " + str(details))
- log.debug( traceback.format_stack() )
+ # log.debug( traceback.format_stack() )
# TODO: set up the below elements with defaults using complete()
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]