NetBeans Forums

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

ResourceCollection message - 6.9.1

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



Joined: 07 Aug 2009
Posts: 9

PostPosted: Wed Aug 18, 2010 1:05 pm    Post subject: ResourceCollection message - 6.9.1 Reply with quote

i can't say if it's an error or warning, but it's in red in the Output window.

After upgrade to 6.9.1 A build shows this:

"This task should have never been released and was obsoleted by ResourceCollection support in <copy> available since Ant 1.7.0. Don't use it."


Build is OK but need to know what this is for. Also, the project is JAVA ME and pointing to a Nokia emulator platform of Series 40.

Thanks
Back to top
Javier.Ortiz
Posted via mailing list.





PostPosted: Wed Aug 18, 2010 2:12 pm    Post subject: ResourceCollection message - 6.9.1 Reply with quote

Ant was updated to 1.8.0, I believe. Probably using and obsolete task and that's a warning from ant itself. I guess you need to report this (search if is already reported first)

Javier A. Ortiz Bultr
Back to top
handylearn



Joined: 18 Nov 2010
Posts: 1

PostPosted: Thu Nov 18, 2010 11:48 pm    Post subject: Reply with quote

There is already a bug in the bugtracker, and it is marked as solved. So hopefully it does not happen for new projects. See
http://netbeans.org/bugzilla/show_bug.cgi?id=187701

But there are still our old projects, which show this distracting red error message (and may fail with the next update of ant.)
I fixed it by editing my nbproject/build-impl.xml files.
After target "do-extra-libs" change:

Code:
<copypath destdir="${dist.lib.dir}" path="${extra.classpath}">
            <flattenmapper/>
 </copypath>


to
Code:

<copy todir="${dist.lib.dir}">
  <path path="${extra.classpath}"/>
  <flattenmapper/>
</copy>
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