| Author |
Adding new task
|
Ethan Gur
Greenhorn
Joined: Feb 17, 2005
Posts: 12
|
|
Hi I wrote a new task for a project. I exported it to a jar file, and put it in the lib/ant folder. When I try to run ant, I get the following error:
taskdef class messaging_as.util.crypt.MASANTFileCryptTask cannot be found
If I put the class file in classes folder, then ant succeeds. But I I don't want to do this, I want to seperate this task from my project. Please help... Thanks
|
 |
Carol Enderlin
drifter
Ranch Hand
Joined: Oct 10, 2000
Posts: 1348
|
|
You can jar it up, looks like people commonly list that jar explicitly in the build file:
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56220
|
|
"gur", We're pleased to have you here with us on the Ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it. In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious. Thanks! bear Forum Bartender
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Adding new task
|
|
|