> -----Original Message----- > From: Trevor Harmon [mailto:[EMAIL PROTECTED] > Sent: Saturday, December 03, 2005 1:29 AM > To: [email protected] > Subject: Re: Why jam-0.1.0-src.jar? > > > On Nov 29, 2005, at 12:56 PM, Radu Preotiuc-Pietro wrote: > > > We use a source jar so that we can repackage the jam classes before > > putting them inside xbean.jar. > > Hmm, I'm still confused. If you are just repackaging classes, why do > you need a source JAR? Are the classes being recompiled again > and again? > The classes are indeed recompiled upon a clean build. But actually, I realized that the more important reason we keep the source jars around is that we have custom modifications to the respective codebases. > I also don't understand how XmlBeans finds the source JAR to begin > with. If it's not on the CLASSPATH (which wouldn't make sense anyway > because it doesn't contain classes), how does XmlBeans find the JAR? > Hm, not sure I understand this question.
> > This way, if you used JAM in another part > > of your code, the two usages (XmlBeans' and yours) wouldn't > interfere > > and each could use a different version of JAM. > > Where would this interference come from? As long as the version you > want to use is on your CLASSPATH and the one XmlBeans uses isn't, > there wouldn't be any conflict, right? > As long as. But if both this other version and XmlBeans' version were on the classpath, then you would either have to use the same version that XmlBeans uses, or XmlBeans may break due to minute differences between versions. > > Same story for Piccolo. > > Ah, so the Piccolo source JARs are also required? This wasn't > mentioned in the README.txt. > Yes, Piccolo source jars are also required. > What about xcresolver.zip? Same story? Not here. xcresolver(*), stax-api and saxon (*) are used as normal dependencies from a jar that you have to have on the classpath (*) if you need the specific feature that the jar provides, you can run without them > > Thanks, > > Trevor Thanks, Radu --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
