File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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

Problem with ant-jnlp-war project

Andreas Groscurth

Joined: Mar 08, 2004
Posts: 12

I just hope eomeone has some experience with

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 ?

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

Joined: Jun 24, 2003
Posts: 3275

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:
subject: Problem with ant-jnlp-war project
It's not a secret anymore!