NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Problem with migrating JavaEE project from XP to Vista

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
anaq



Joined: 21 Sep 2009
Posts: 44

PostPosted: Thu Dec 10, 2009 12:22 pm    Post subject: Problem with migrating JavaEE project from XP to Vista Reply with quote

Hi all,

I try to migrate my JavaEE netbeans project from Windows XP to Vista. I checkout the project from SVN repository, but when I try to compile it, I get this error:

Code:

init-check:
Could not load definitions from resource org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml. It could not be found.
init:
deps-jar:
deps-j2ee-archive:
Could not load definitions from resource org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml. It could not be found.
init:
Could not load definitions from resource org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml. It could not be found.
init:
deps-jar:
Created dir: C:\Work\PaBIS\PaBIS\PaBIS\PaBIS-ejb\build\jar
Copying 1 file to C:\Work\PaBIS\PaBIS\PaBIS\PaBIS-ejb\build\jar
Copying 2 files to C:\Work\PaBIS\PaBIS\PaBIS\PaBIS-ejb\build\jar\META-INF
Created dir: C:\Work\PaBIS\PaBIS\PaBIS\PaBIS-ejb\build\empty
Compiling 72 source files to C:\Work\PaBIS\PaBIS\PaBIS\PaBIS-ejb\build\jar
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying 3 files to C:\Work\PaBIS\PaBIS\PaBIS\PaBIS-ejb\build\jar
compile:
library-inclusion-in-manifest:
C:\Work\PaBIS\PaBIS\PaBIS\nbproject\build-impl.xml:156: The following error occurred while executing this line:
C:\Work\PaBIS\Client\nbproject\build-impl.xml:393: The following error occurred while executing this line:
C:\Work\PaBIS\PaBIS\PaBIS\PaBIS-ejb\nbproject\build-impl.xml:338: Problem: failed to create task or type copyfiles
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
BUILD FAILED (total time: 2 seconds)


The project runs on Windows XP and Linux without problems. Google does not help me with this. Any idea, how to fix this?

Thank you

Michal [/list]
Back to top
anaq



Joined: 21 Sep 2009
Posts: 44

PostPosted: Mon Dec 14, 2009 2:41 pm    Post subject: Re: Reply with quote

Problem fixed, it was in the ant property for copy libs classpath. In Vista it should be with //, in XP and Linux worked it well with \.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo