Hi Niel,

I didn't want to build from source to begin with.  I decided to try that route after 
not finding thurough installation info for the binary package.  I think the info you 
provided here should get me going.  I'm trying to use this with xml-resume-library 
(xmlresume).  Based on the info you give me here and the install info for xmlresume, I 
think all I need is to copy the .jar's to the JDK ~/ext directory.  Thanks for the 
quick reply. :-)

- Ken

On Tue, Nov 26, 2002 at 03:08:14PM -0500, [EMAIL PROTECTED] wrote:
> Hi Ken and all,
> 
> (Aside:  what's up with the sudden interest in building from source?  This
> was broken for ages and no one noticed 'til today...)
> 
> Anyway:  I'd be surprised if there were many java tools that came with
> install targets for their Makefile's or build scripts.  The bottom line is
> that you put xercesImpl.jar where you need to use it:  in some directory
> referenced by your classpath Yf you have a standalone application, perhaps
> in a WEB-INF directory if you want to access it from a servlet, or maybe
> somewhere else if you needs are different.  So long as the JVM can find the
> xerces classes according to the class loading strategy you're using, Xerces
> couldn't care less.  :)
> 
> Question for the list:  should we repost the tools archives?  It'd be easy
> enough to do and nothing's changed since 2.2.1; if I get any +1's I'll do
> it.
> 
> Cheers,
> Neil
> Neil Graham
> XML Parser Development
> IBM Toronto Lab
> Phone:  905-413-3519, T/L 969-3519
> E-mail:  [EMAIL PROTECTED]
> 
> 
> 
> 
> |---------+---------------------------->
> |         |           Ken Teague       |
> |         |           <kteague@sprocket|
> |         |           .ddts.net>       |
> |         |                            |
> |         |           11/26/2002 02:47 |
> |         |           PM               |
> |         |           Please respond to|
> |         |           xerces-j-dev     |
> |         |                            |
> |---------+---------------------------->
>   
>>---------------------------------------------------------------------------------------------------------------------------------------------|
>   |                                                                                  
>                                                           |
>   |       To:       [EMAIL PROTECTED]                                      
>                                                           |
>   |       cc:                                                                        
>                                                           |
>   |       Subject:  xerces 2.2.1 (org.apache.xerces.util.XJavac cannot be found)     
>                                                           |
>   |                                                                                  
>                                                           |
>   |                                                                                  
>                                                           |
>   
>>---------------------------------------------------------------------------------------------------------------------------------------------|
> 
> 
> 
> Hi.  I downloaded and tried to build Xerces2-J v2.2.1 on my Debain (3.0)
> box.  When I ran build.sh, I received the following error:
> 
> <snip>
> kteague@sprocket:~/incoming/xmlresume/xerces-2_2_1$ ./build.sh all
> 
> Xerces-Java Build System
> ------------------------
> Building with classpath
> 
>"/usr/lib/j2se/1.3/lib/tools.jar:/usr/lib/j2se/1.3/lib/classes.zip:./tools/ant.jar:./tools/xercesImpl.jar:./tools/xml-apis.jar:./tools/bin/xjavac.jar"
> 
> Starting Ant...
> 
> Buildfile: build.xml
> 
> BUILD FAILED
> file:/home/kteague/incoming/xmlresume/xerces-2_2_1/build.xml:22: taskdef
> class org.apache.xerces.util.XJavac cannot be found
> 
> Total time: 1 second
> <snip>
> 
> A quick google for the error revealed this link:
> 
> <snip>
> 
>http://216.239.37.100/search?q=cache:9P2HI-npB94C:xml.apache.org/mail/xerces-j-dev/200210+org.apache.xerces.util.XJavac&hl=en&ie=UTF-8
> 
> <snip>
> 
> However, based on the info there, I'm not quite sure how to fix this.  It
> only confirms that you guys know about the bug and have
> fixed it.  The time/date stamp on the .tar.gz I downloaded was recent (a
> little over 10 days old) and the bug was discovered in the
> begininng of October.  I thought the bug wouldn't be present in this newer
> version I'm trying to build.
> 
> I really have 2 options here but I'm a little confused.  My first option
> (and preferable) would be to install the binary
> distribution.  The problem I have with that is the installation
> instructions lack installation info.  It describes how to unarchive
> the downloaded archives, what the archives contain, and which archives I
> will need but... what do I do once they're unarchived?
> Which files go where?
> 
> My other option is to try and fix the source so it compiles correctly.  I'm
> hoping that, in the end, there is a ``make install''
> that places files in the correct location.
> 
> On a side note, the build instructions for this software package is
> somewhat misleading.  It details the Xerces-J source and tools
> should be extracted to the same directory.  Extracting the Xerces-J source
> archive creates a xerces-2_2_1 directory.  Unarchiving
> the Xerces tools creates a tools directory.  So if I unarchived both to a
> directory called ~xml/, I would then have ~xml/tools and
> ~xml/xerces-2_2_1 which will cause the build to fail.  The documentation
> should state the tools archive needs to be extracted IN
> the directory created after extracting the xerces archive so the Xerces
> tools directory is in the correct location.  This was
> fairly easy for me to spot but may confuse others.
> 
> - Ken
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to