RE: Question on Module.xml

"Nevzorov, Vlad" <[email protected]>
Newsgroups gmane.comp.krysalis.user
Message-ID <9F9893538682134B8139AB69A86A8DB025D88C@sghdqms03.global.ad.sabre.com>
Adam,
 
To let you know - I have found a problem while adding jars to module.xml. It doesn't find jars with dots (".") in the names. For example, it can't find log4j.1.2.6.jar but finds log4j_1_2_6.jar alright. It's not a problem, but uncinvenience.
 
Thanks,
Vlad

-----Original Message-----
From: Adam Jack [mailto:[email protected]]
Sent: Friday, July 25, 2003 2:39 PM
To: [email protected]
Subject: RE: Question on Module.xml


Well the intention is you specify in module.xml, and don't have to duplicate in a build.xml because Centipede/Ruper (1) set classpaths (2) go and get the "latest/best fit" version of the libraries for you need (keeping you up to date).
 
Meaning -- rather than manual manage files & classpaths in ant scripts, you manage higher level (project) metadata. The module.xml plays other roles for other things (so is more re-usable than ant scripts) see:
 
 <http://jakarta.apache.org/gump/module.html>     http://jakarta.apache.org/gump/module.html
 
That said, we are (slowly) working towards decoupling all the benefits of centipede from each other, so you could use various aspects (the re-usable cents/antlibs say) without others (e.g. project metadata).
 
regards
 
Adam

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of NIkunj Manocha
Sent: Thursday, July 24, 2003 10:40 PM
To: [email protected]
Subject: Question on Module.xml


HI All,
 
  I somehow got confused along the way. Please clarify my doubt. 
  If I am importing the build.xml in my centipede file, and have specified in the ant tasks all the classpaths to the different third party jars etc needed by the project, then why do I still need to specify the same jar files in the module.xml. What I am asking is that what purpose is served by specifying the depend project in the module.xml. I can run the junit test through the ant build file itself, so the classpath passing is adequate in itself.
  Is it that the cents such as javasrc, junit etc also need to know about the 3rd party jars and hence we absolutely must specify the depend project attributes in the module.xml?
  Please clarify. Thanks,
 
Regards,
Nikunj
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.