2013-08-02 20 views
1

我有一個使用fxml和JavaFX Scene Builder 1.1的JavaFX應用程序。當我在Netbeans中編譯項目時,它會針對項目中包含的每個jar文件發出警告,這使得編譯需要更多時間。 例如:如何在netebeans的java fxml應用程序中編譯時刪除警告

Warning: 
The signer certificate will expire within six months. 
Enter Passphrase for keystore: Enter key password for nb-jfx: 
Signing JAR: E:\Project\Client\Development\Mednet\dist\lib\activation.jar to E:\Project\Client\Development\Mednet\dist\lib\activation.jar as nb-jfx 

Warning: 
The signer certificate will expire within six months. 
Enter Passphrase for keystore: Enter key password for nb-jfx: 
Signing JAR: E:\Project\Client\Development\Mednet\dist\lib\antlr-2.7.7.jar to E:\Project\Client\Development\Mednet\dist\lib\antlr-2.7.7.jar as nb-jfx 

Warning: 
The signer certificate will expire within six months. 
Enter Passphrase for keystore: Enter key password for nb-jfx: 
Signing JAR: E:\Project\Client\Development\Mednet\dist\lib\asm-3.1.jar to E:\Project\Client\Development\Mednet\dist\lib\asm-3.1.jar as nb-jfx 

Warning: 
The signer certificate will expire within six months. 
Enter Passphrase for keystore: Enter key password for nb-jfx: 
Signing JAR: E:\Project\Client\Development\Mednet\dist\lib\dom4j-1.6.1.jar to E:\Project\Client\Development\Mednet\dist\lib\dom4j-1.6.1.jar as nb-jfx 

Warning: 
The signer certificate will expire within six months. 
Enter Passphrase for keystore: Enter key password for nb-jfx: 
Signing JAR: E:\Project\Client\Development\Mednet\dist\lib\hibernate-commons-annotations-4.0.2.Final.jar to E:\Project\Client\Development\Mednet\dist\lib\hibernate-commons-annotations-4.0.2.Final.jar as nb-jfx 

Warning: 
The signer certificate will expire within six months. 
Enter Passphrase for keystore: Enter key password for nb-jfx: 
Signing JAR: E:\Project\Client\Development\Mednet\dist\lib\hibernate-core-4.2.2.Final.jar to E:\Project\Client\Development\Mednet\dist\lib\hibernate-core-4.2.2.Final.jar as nb-jfx 

...等等等等....

我怎麼能阻止他們,並減少編譯時間? 謝謝。

+0

您使用的證書請求不受限制的訪問(啓用簽約),這耗盡。 與javafx或fxml無關。 – Kalaschni

回答

6

你可以去屬性>生成>部署,然後取消勾選複選框說