anjan1970 Posted August 9, 2012 Share Posted August 9, 2012 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.xmltest: [echo] =================================== [echo] Barbecue Sample [echo] ===================================clean:clean-sample: [delete] Deleting directory /opt/jasperreports-4.6.0/demo/samples/barbecue/buildBUILD 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 More sharing options...
Ching Ice-creaming Posted August 14, 2012 Share Posted August 14, 2012 Unable to delete file /opt/jasperreports-4.6.0/demo/samples/barbecue/build/classes/BarbecueApp.class The last sentence of error message show your user account don't have delete right at Linux. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now