[Biojava-l] Newbie build question

Forsch, Dan dorsch@netgenics.com
Wed, 24 Jan 2001 11:16:29 -0500


Perhaps xml.jar could be removed from CVS so people aren't tempted to use it
in the future?


Dan Forsch, Principal Software Engineer
NetGenics, Inc.


> -----Original Message-----
> From: Thomas Down [mailto:td2@sanger.ac.uk]
> Sent: Wednesday, January 24, 2001 6:04 AM
> To: Cox, Greg
> Cc: 'biojava-l@biojava.org'
> Subject: Re: [Biojava-l] Newbie build question
> 
> 
> On Wed, Jan 24, 2001 at 08:47:27AM -0500, Cox, Greg wrote:
> > I checked biojava out of cvs, and I'm having problems 
> getting the build tool
> > to work.  I've added xml.jar to my classpath, but when I 
> run build.Builder
> > all it fails on references to com.sun.xml.tree.* and 
> parser.*  However, when
> > I run javac directly on a class that fails with build, it 
> compiles without
> > errors.  
> 
> This is just bad luck -- there was some code checked in
> a couple of days ago which used xml.jar, and you seem to have
> picked that up.  In the latest revision, it's been fixed
> to use xerces.jar instead.
> 
> If you do a `cvs update' you should be fine.
> 
> > 	The build tool works when "|xml.jar" is added to Builder.props.
> > More generally, it seems that Builder doesn't work off of 
> the current
> > classpath, but creates a new one for biojava.  Is this accurate?
> 
> Specifically, the builder invokes javac with the -classpath
> option, and it then ignores the CLASSPATH environment variable.
> 
> The biojava build tools isn't a particularly wonderful piece
> of software, but it served a need when it was written.  I'm
> now using `ant' for day-to-day builds, and I suspect we'll be
> switching wholesale to ant after the 1.1 release.
> 
> 
> Let me know if you have any more trouble,
> 
>     Thomas.
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l@biojava.org
> http://biojava.org/mailman/listinfo/biojava-l
>