This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 210579 - Make JNLP File Generation Task re-usable
Summary: Make JNLP File Generation Task re-usable
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.1.1
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-02 22:44 UTC by bht
Modified: 2012-04-03 09:40 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bht 2012-04-02 22:44:17 UTC
I am trying to re-use the IDE's JNLP file generation task on a build server but I failed to do this.

The IDE generates properties for use by the task generate-jnlp which uses a very useful custom ant task  org.netbeans.modules.javawebstart.anttasks.GenerateJnlpFileTask which is included in org-netbeans-modules-javawebstart-anttasks.jar.

One of the generated properties that this task requires is a colon-separated list of classpath elements. The name of the property is javac.classpath.

Unfortunately, using ant, it is not possible to create such a property from an ant classpath or fileset. That means that the jnlp task cannot run on a build server even if the IDE's library files are available on it.