[Logo] Mango Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Build error:taskdef class org.apache.catalina.ant.ReloadTask can not be found  XML
Forum Index » Development general discussion
Author Message
m2mtime

Initiate

Joined: 28/07/2008 23:15:05
Messages: 4
Offline

Hi,

I am a wireless module software developer from China, and be interested in your Mango.

When I try to build Mango sourcecode with the build instruction on https://mango.dev.java.net/#building,

There is a build error:

d:\mango\app\build.xml:121: taskdef class org.apache.catalina.ant.ReloadTask can not be found.

Could you tell me what's the problem?

Thank you in advance!




mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1847
Offline

Hi,

The ReloadTask is defined near the bottom of the build.xml script (in a taskdef). The "location" attribute points to where the task definition can be found, and uses the macro ${tomcat.home}. This macro is defined in your build.properties file. Make sure you have it properly defined such that it points to the catalina-ant.jar file as it appears in the task definition.

Best regards,
Matthew Lohbihler
marybka

Initiate

Joined: 19/05/2009 06:41:13
Messages: 3
Offline

I'm having the some kind of problem. I'm trying to make it work under Windows XP, I have installed Tomcat here: C:\Program Files\Apache Software Foundation\Tomcat 6.0

So I changed the line in build.properties to: tomcat.home=C:\Program Files\Apache Software Foundation\Tomcat 6.0

And it doesn't work, I still get this message: .



May someone help me with that?
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1847
Offline

Some things to check:

1) within that directory, is there a "lib" sub-dir containing "catalina-ant.jar"?
2) have you tried changing "\" characters to "/"?
3) if all else fails, can you try a directory that does not have embedded spaces?

Best regards,
Matthew Lohbihler
marybka

Initiate

Joined: 19/05/2009 06:41:13
Messages: 3
Offline

Thanks for the answer, of course changing "\" characters to "/" works
 
Forum Index » Development general discussion
Go to:   
Powered by JForum 2.1.9 © JForum Team