Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (682)
Games in Android Showcase (196)
games submitted by our members
Games in WIP (749)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Error in netbeans jnlp generation.  (Read 3009 times)
0 Members and 1 Guest are viewing this topic.
Offline i30817

Junior Devvie

« Posted 2009-09-08 21:02:53 »

This error occurs when i try to use the netbeans 6.8 support for making a webstart (i want to have one on my google code project page)
Duplicated project name in import. Project -profiler-impl defined first in E:\Projects\BookJar\nbproject\profiler-build-impl.xml and again in E:\Projects\BookJarUtils\nbproject\profiler-build-impl.xml
Copy libraries to E:\Projects\BookJarUtils\dist\lib.
Not copying the libraries.
Building jar: E:\Projects\BookJar\dist\BookJar.jar
Copy libraries to E:\Projects\BookJar\dist\lib.
To run this application from the command line without Ant, try:
java -jar "E:\Projects\BookJar\dist\BookJar.jar"
Signing JAR: E:\Projects\BookJar\dist\BookJar.jar to E:\Projects\BookJar\dist\BookJar.jar as nb-jws

The signer certificate will expire within six months.
Enter Passphrase for keystore: Enter key password for nb-jws:
Do not set property jnlp.application.args.value as its length is 0.
Deleting: E:\Projects\BookJar\helper.txt
E:\Projects\BookJar\nbproject\jnlp-impl.xml:61: The following error occurred while executing this line:
E:\Projects\BookJar\nbproject\jnlp-impl.xml:115: Use a resource collection to copy directories.
BUILD FAILED (total time: 4 seconds)

Only on jnlp generation mind you. Clicking on the latter error gives me a place in the jnlp-impl.xml
        <copy file="${jnlp.icon}" todir="${jnlp.dest.dir}" failonerror="false"/>
That copies the icon (a png in a src subdirectory) into the dist directory (i think).

There is a guy in google that has the same error, but noone answered. I don't know anything about ant and have minimal interest in learning. XML pushups pffft.
Offline bienator

Senior Devvie


« Reply #1 - Posted 2009-09-08 21:38:54 »

NetBeans 6.8 hasn't been released yet. The right place to file bugs is the issue tracker:
i don't think many nb devs are reading this forum Wink

Offline i30817

Junior Devvie

« Reply #2 - Posted 2009-09-08 21:41:44 »

I don't know this is a bug.

And its actually Product Version: NetBeans IDE 6.7 (Build 200906241340). And i was hoping that some Ant wizard would say "Oh its _______.". And i know where the netbeans bug report page is considering the last thread i did and the 6 open reports i have there.

Oh fine. I will open a bug.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline bienator

Senior Devvie


« Reply #3 - Posted 2009-09-08 23:19:46 »

you said previously you are using 6.8 thats why i thought it is almost certainly a bug since even the beta isn't yet available. Does that happen also if you create a new project, enable webstart and build?

i could take a look at your project if you would sent it to me. (tomorrow)

Offline i30817

Junior Devvie

« Reply #4 - Posted 2009-09-09 02:11:48 »

Hummm, no it doesn't. A new empty project runs perfectly.

I think it might be a outdated version of the project files or something, i have this project since netbeans 5.8 or something and i just keep on using it.

Here is the svn, the libraries are in the libraries directory there (you might need to import the bookjarutils directory jars and DownloadMimeTypeImpl/downloadSPI.jar because i have those as projects here). Oh, also in the libraries\BookJarUtils directory import everything but in the DownloadMimeTypeImpl only import DownloadSPI (ServiceLoader gets confused with the other implementation, not that it matters too much - its a abstraction over the view of a download list - used here to get books of project gutenberg.).

Offline i30817

Junior Devvie

« Reply #5 - Posted 2009-09-09 02:33:14 »

quote button strikes again.  Roll Eyes
Offline bienator

Senior Devvie


« Reply #6 - Posted 2009-09-09 20:14:27 »

since your build files are already so old i would try to migrate to a fresh project. Depending how complicated your setup is it might be simpler to copy src/ and all *.properties to a new project and reconfigure the remaining parts manually.

or you could try to remove all *impl*.xml in nbproject/ and reopen the project which should regenerate the files (make a backup first Wink) - maybe this would already fix your build

Offline i30817

Junior Devvie

« Reply #7 - Posted 2009-09-09 22:28:53 »

I'm waiting to see if the programmer assigned to the bug report wants something else now (he is already aware of the problem in a general way).
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

orrenravid (133 views)
2016-07-16 03:57:23

theagentd (201 views)
2016-07-11 14:28:54

Hydroque (284 views)
2016-07-06 05:56:57

Hydroque (429 views)
2016-07-03 08:52:54

GrandCastle (316 views)
2016-07-01 09:13:47

GrandCastle (312 views)
2016-07-01 09:09:45

CopyableCougar4 (367 views)
2016-06-25 16:56:52

Hydroque (356 views)
2016-06-22 02:17:53

SwampChicken (326 views)
2016-06-20 13:22:57

SwampChicken (279 views)
2016-06-20 13:22:49
Making a Dynamic Plugin System
by Hydroque
2016-06-25 00:13:25

Java Data structures
by BinaryMonkL
2016-06-13 21:22:09

Java Data structures
by BinaryMonkL
2016-06-13 21:20:42

FPS Camera Tutorial
by Hydroque
2016-05-22 05:40:58

Website offering 3D Models specifically for games for free
by vusman
2016-05-18 17:23:09

Website offering 3D Models specifically for games for free
by vusman
2016-05-09 08:50:56

Website offering 3D Models specifically for games for free
by vusman
2016-05-06 11:10:21

Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!