75172
29-04-2010, 17:26
Ciao, ho provato a creare un progetto enterprise con NetBeans, però devo crearne non uno vuoto, ma con existing source, perchè ho già i miei moduli ejb e war. Faccio crea, scelgo un nome ed un folder come mi chiede ed i moduli da importare.
Il progetto l'ho creato. Se faccio il deploy del modulo EJB funziona, quello del modulo WAR anche, se faccio run il progetto parte e funziona. Ma se faccio il deploy del progetto enterprise EAR che li contiene mi dà questo strano errore:
associazioneWAR.init:
Deleting directory C:\Documents and Settings\Pamela\Documenti\NetBeansProjects\associazioneWAR\build\web\WEB-INF\lib
C:\Documents and Settings\Pamela\Documenti\NetBeansProjects\AssociazioneEAR\nbproject\build-impl.xml The following error occurred while executing this line:
C:\Documents and Settings\Pamela\Documenti\NetBeansProjects\associazioneWAR\nbproject\build-impl.xml:548: Unable to delete file C:\Documents and Settings\Pamela\Documenti\NetBeansProjects\associazioneWAR\build\web\WEB-INF\lib\associazioneEJB.jar
proviene da un file build.xml che netbeans crea in automatico
cosa devo fare?
Il progetto l'ho creato. Se faccio il deploy del modulo EJB funziona, quello del modulo WAR anche, se faccio run il progetto parte e funziona. Ma se faccio il deploy del progetto enterprise EAR che li contiene mi dà questo strano errore:
associazioneWAR.init:
Deleting directory C:\Documents and Settings\Pamela\Documenti\NetBeansProjects\associazioneWAR\build\web\WEB-INF\lib
C:\Documents and Settings\Pamela\Documenti\NetBeansProjects\AssociazioneEAR\nbproject\build-impl.xml The following error occurred while executing this line:
C:\Documents and Settings\Pamela\Documenti\NetBeansProjects\associazioneWAR\nbproject\build-impl.xml:548: Unable to delete file C:\Documents and Settings\Pamela\Documenti\NetBeansProjects\associazioneWAR\build\web\WEB-INF\lib\associazioneEJB.jar
proviene da un file build.xml che netbeans crea in automatico
cosa devo fare?