Java-Gaming.org    
Featured games (78)
games approved by the League of Dukes
Games in Showcase (428)
Games in Android Showcase (89)
games submitted by our members
Games in WIP (466)
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 1988 times)
0 Members and 1 Guest are viewing this topic.
Offline i30817

Junior Member





« Posted 2009-09-08 23: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)
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
init:
deps-jar:
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
init:
deps-jar:
compile:
Copy libraries to E:\Projects\BookJarUtils\dist\lib.
jar:
init:
deps-jar:
compile:
Not copying the libraries.
jar:
compile:
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"
jnlp:
jnlp-init-generate-master:
Signing JAR: E:\Projects\BookJar\dist\BookJar.jar to E:\Projects\BookJar\dist\BookJar.jar as nb-jws

Warning:
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 Member




OutOfCoffeeException


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

NetBeans 6.8 hasn't been released yet. The right place to file bugs is the issue tracker:
http://www.netbeans.org/community/issues.html
i don't think many nb devs are reading this forum Wink

Offline i30817

Junior Member





« Reply #2 - Posted 2009-09-08 23: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 Member




OutOfCoffeeException


« Reply #3 - Posted 2009-09-09 01: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 Member





« Reply #4 - Posted 2009-09-09 04: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.).

http://bookjar.googlecode.com/svn/BookJar/

Offline i30817

Junior Member





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

quote button strikes again.  Roll Eyes
Offline bienator

Senior Member




OutOfCoffeeException


« Reply #6 - Posted 2009-09-09 22: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 Member





« Reply #7 - Posted 2009-09-10 00: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.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (79 views)
2014-04-15 18:08:23

BurntPizza (71 views)
2014-04-15 03:46:01

UprightPath (82 views)
2014-04-14 17:39:50

UprightPath (66 views)
2014-04-14 17:35:47

Porlus (82 views)
2014-04-14 15:48:38

tom_mai78101 (106 views)
2014-04-10 04:04:31

BurntPizza (166 views)
2014-04-08 23:06:04

tom_mai78101 (262 views)
2014-04-05 13:34:39

trollwarrior1 (212 views)
2014-04-04 12:06:45

CJLetsGame (221 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org 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‑gaming.org
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!