Como obter Clean and Build no netbeans para funcionar novamente?

0

Eu não sei se isso é um problema de netbeans ou Ubuntu ou Java. Mas eu estou executando o Ubuntu 13.10 64 bits e tentando criar um arquivo jar do meu aplicativo java que eu criei com o NetBeans IDE 7.0.1.

Isto é o que acontece quando se pressiona o botão "Limpar e construir"

init:
deps-clean:
Updating property file: /home/jeggy/Skjøl/NetBeansProjects/KTEditor/build/built-clean.properties
Deleting directory /home/jeggy/Skjøl/NetBeansProjects/KTEditor/build
clean:
init:
deps-jar:
Created dir: /home/jeggy/Skjøl/NetBeansProjects/KTEditor/build
Updating property file: /home/jeggy/Skjøl/NetBeansProjects/KTEditor/build/built-jar.properties
Created dir: /home/jeggy/Skjøl/NetBeansProjects/KTEditor/build/classes
Created dir: /home/jeggy/Skjøl/NetBeansProjects/KTEditor/build/empty
Created dir: /home/jeggy/Skjøl/NetBeansProjects/KTEditor/build/generated-sources/ap-source-output
Compiling 11 source files to /home/jeggy/Skjøl/NetBeansProjects/KTEditor/build/classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/jeggy/Skjøl/NetBeansProjects/KTEditor/src/Connect.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying 17 files to /home/jeggy/Skjøl/NetBeansProjects/KTEditor/build/classes
compile:
Created dir: /home/jeggy/Skjøl/NetBeansProjects/KTEditor/dist
Copying 1 file to /home/jeggy/Skjøl/NetBeansProjects/KTEditor/build
/home/jeggy/Skjøl/NetBeansProjects/KTEditor/nbproject/build-impl.xml:990: The following error occurred while executing this line:
/home/jeggy/Skjøl/NetBeansProjects/KTEditor/nbproject/build-impl.xml:834: copylibs doesn't support the "excludeFromCopy" attribute
BUILD FAILED (total time: 0 seconds)

Alguém poderia me explicar ou me ajudar a consertar isso?

    
por Jeggy 17.03.2014 / 21:08

1 resposta

0

É apenas um arquivo de bug simples do Netbeans. Clique no link no segundo para a última linha que é /home/jeggy/Skjøl/NetBeansProjects/KTEditor/nbproject/build-impl.xml:834 :

Remova o atributo de excludeFromCopy - não a linha inteira, apenas o código associado a ele!

    
por sulav Depp 22.10.2014 / 16:16