Jump to content

ANT failing


anjan1970

Recommended Posts

Hello,

I have installed both ant and jasperreports-4.6.0 on my Ubuntu machine.

The following environmental variables have been specified in my .bashrc file= PATH, ANT_HOME, JAVA_HOME and CLASSPATH.

The CLASSPATH variable includes "." (current directory) as well as a list of 8 Jasper and Jasper related libraries (as specified by

Chapter 2, JasperReports 3.5 for Java developers).

However running ant in the /demo/samples/barbecue directory returns this error:

Buildfile: /opt/jasperreports-4.6.0/demo/samples/barbecue/build.xml

test:
     [echo] ===================================
     [echo]  Barbecue Sample
     [echo] ===================================

clean:

clean-sample:
   [delete] Deleting directory /opt/jasperreports-4.6.0/demo/samples/barbecue/build

BUILD FAILED
/opt/jasperreports-4.6.0/demo/samples/barbecue/build.xml:118: The following error occurred while executing this line:
/opt/jasperreports-4.6.0/demo/samples/barbecue/build.xml:111: The following error occurred while executing this line:
/opt/jasperreports-4.6.0/demo/samples/build.xml:299: Unable to delete file /opt/jasperreports-4.6.0/demo/samples/barbecue/build/classes/BarbecueApp.class

 

Any ideas on how to fix this?

TIA,

Anjan

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...