[jdom-interest] Initial questions - build jdom

Rolf Lear jdom at tuis.net
Tue Mar 20 11:32:55 PDT 2012


Hi again, George.

I put together a 'quick' primer for using JDOM (the current BETA
version...):

https://github.com/hunterhacker/jdom/wiki/JDOM2:-A-Primer

Rolf


On Tue, 20 Mar 2012 12:17:36 -0400, George Seese <gseese at gmail.com> wrote:
> Windows 7, beginner to java.
> 
> 
> The download page said "Binary releases come with source, but you're not
> required to build the code yourself."
> 
> q1. But there is no "bin" folder. Doesn't that mean a build is needed?
> 
> 
> The README says the build "will generate a file called "jdom.jar" in the
> "./build" directory.
> 
> That file does not exist (from download), so I assume that a build is
> required.
> 
> q2. If the source files are .java, why does a build generate jar files?
The
> jdk bin folder has .exe files.
> 
> 
> I followed instructions to build. The results are shown in the Command
> Prompt below.
> 
> q3. Can you determine what the problem may be?
> build.bat
> 
> JDOM Build System
> 
> -----------------
> 
> Building with classpath c:\Program
>
files\Java\jdk1.6.0_31\lib\tools.jar;.\lib\ant.jar;.\lib\xml-apis.jar;.\lib\xerces.jar;
> 
> Starting Ant...
> 
> Buildfile: build.xml
> 
> init:
> 
>      [echo] -------- JDOM 1.1.2-snap ---------
> 
> prepare:
> prepare-src:
> 
> BUILD FAILED
> 
> file:C:file/Program%20Files/Java/jdom/build.xml:133: Directory
c:\Program
> Files\Java\jdom\build\src creation was not successful for unknown reason
> 
> Total time: 0 seconds


More information about the jdom-interest mailing list