| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 28/07/2008 23:53:13
|
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!
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 29/07/2008 10:36:15
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
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 |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 19/05/2009 06:46:00
|
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?
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 19/05/2009 09:55:11
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
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 |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 19/05/2009 11:44:06
|
marybka
Initiate
Joined: 19/05/2009 06:41:13
Messages: 3
Offline
|
Thanks for the answer, of course changing "\" characters to "/" works
|
|
|
 |
|
|