| Author |
Path not working
|
Robo Fazak
Greenhorn
Joined: Mar 25, 2010
Posts: 8
|
posted

0
|
Hi,
I am new to Ant build tool, I am learning ant to deploy my web service in Tomcat.
Copied portion of my build.xml. Path is not working properly can anybody tell me the reason.
When i point mouse on path id it show path as mybasedir/${lib.home}, which is an invalid path so my taskdef is not working
Advanced thanks
|
SCJP 1.6
|
 |
Peter Johnson
author
Bartender
Joined: May 14, 2008
Posts: 5533
|
posted

0
|
Please use code tags when posting source, makes it much easier to read.
What do you mean by "is not working"? http://faq.javaranch.com/java/ItDoesntWorkIsUseless
|
JBoss In Action
|
 |
Robo Fazak
Greenhorn
Joined: Mar 25, 2010
Posts: 8
|
posted

0
|
Exception is thrown at running
build-server-java:
[apt] java.lang.NoClassDefFoundError: com/sun/tools/apt/Main
[apt] Exception in thread "main"
|
 |
Peter Johnson
author
Bartender
Joined: May 14, 2008
Posts: 5533
|
posted

0
|
|
There is an inconsistency in your post - the original post refers to one class name but the error message you posted refers to a different class name.
|
 |
Robo Fazak
Greenhorn
Joined: Mar 25, 2010
Posts: 8
|
posted

0
|
When i used the defined path in the following task i got this exception
|
 |
Robo Fazak
Greenhorn
Joined: Mar 25, 2010
Posts: 8
|
posted

0
|
When i run this code from commandline using ant it is running but it is throwing the above exception in eclipse(When Run as -> Ant Build).
Can anybody tell me the reason.
|
 |
 |
|
|
subject: Path not working
|
|
|