Jump to content
Changes to the Jaspersoft community edition download ×

can't build the .jasper file


Recommended Posts

I can't build the .jasper file,who can tell me the reason.


E:\jasperreports\demo\samples\alterdesign>ant compile

Buildfile: build.xml



E:\jasperreports\demo\samples\alterdesign\build.xml:27: taskdef A class needed by class net.sf.jasperreports.ant.JRAntCompileTask cannot be found: org/apache/tools/ant/taskdefs/MatchingTask

Total time: 1 second

Post edited by: cnjun, at: 2006/08/19 06:37

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 8 months later...

They are all there, I double- and triple-checked. This is the out-of-the-box jasperreports distribution package.


Only the report compile tasks fail, the ones that invoke the jrc taskdef. Is there a way to run them on a command-line without ANT?


Thank you for your reply!

Link to comment
Share on other sites

yeah u can if u are just looking to compile it once and not on the fly, download a program called iReports its free and compile it in there, if u already have it u do not need any ant lines to compile it, ant is more for compiling it over again when the user accesses it and gives parameters and u need to recompile, but there is very little situations where u would need to recompile on every report.
Link to comment
Share on other sites

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...