To compile the samples try the Ant target 'samples'

So

build samples

To run the JUnit test cases and produce a HTML report try

build test-report

Or to get a list of common targets try

build usage

It might be worth taking a read of Ant - its a Java & XML alternative to
Make

http://jakarta.apache.org/ant/

e.g. you can find all the targets available via...

build -projecthelp

There are various build targets that compile & run sample programs or test
cases. Note there may be a few old targets around for sample programs / test
programs. If you find any that don't work do let us know and we'll fix them.

James
----- Original Message -----
From: "Chris Foong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 12, 2002 2:19 AM
Subject: [dom4j-dev] How to build and run dom4j sample programs


> Hi,
>
> I tried to build and run the dom4j sample programs but failed. The error
message is shown below:
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> C:\DOCUME~1\chris\Desktop\dom4j-1.2>build src\samples\CountDemo.java
> Buildfile: build.xml
>
> BUILD FAILED
>
> Target `src\samples\CountDemo.java' does not exist in this project.
>
> Total time: 2 seconds
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Please help. Thanx.
>
> ---
> Regards,
> Chris
>
>
>
> 2,000,000,000 Web Pages--you only need 1. Save time with My Lycos.
> http://my.lycos.com
>
> _______________________________________________
> dom4j-dev mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dom4j-dev


_______________________________________________
dom4j-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-dev

Reply via email to