aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Problem with ant-jnlp-war project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Problem with ant-jnlp-war project" Watch "Problem with ant-jnlp-war project" New topic
Author

Problem with ant-jnlp-war project

Andreas Groscurth
Greenhorn

Joined: Mar 08, 2004
Posts: 12
Hi,

I just hope eomeone has some experience with http://ant-jnlp-war.sourceforge.net/

I downloaded the ant-jar file from sourceforge here and followed the documentation.
I have the following tasks



the properties are all valid in the whole build file.
My problem is that i always get

Problem: failed to create task or type org.unintelligible.antjnlpwar:jnlpwar
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yete following error:

The xmlns:jw="org.unintelligible.antjnlpwar" is in the project tag.

I already tried to include also the deps jar, but with the same problem.

What do I miss ?

THANKS
[ November 13, 2008: Message edited by: Martijn Verburg ]
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Disclaimer: I've not used this project and I've not gone and looked up their documentation.

Usually in ANT it means it can't find the Task in a JAR on the ANT CLASSPATH. A quick fix is to place the jar file in the ANT_HOME/lib directory.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with ant-jnlp-war project
 
Similar Threads
AndroMDA using Ant
building war with ant
Jikes in Ant
Ant: earExport is not working with Jdk 1.4
ServletTestCase::request is not accessible my test class, which extends jspTestCase.