This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 73704 - CVS folder in resources
Summary: CVS folder in resources
Status: CLOSED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Adam Sotona
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-17 14:37 UTC by doogie
Modified: 2008-09-10 15:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description doogie 2006-03-17 14:37:25 UTC
Our J2ME Project uses some resources in a folder called /res. This folder is
under CVS control. Like the rest of the project. Of course except the /build and
/dist directory which are ignored by cvs. This resource folder is set in the
project's properties "Libraries & Resources".

BUG: When I compile the project the ant task copies the contents of the /res
folder to /build/<ConfigurationName>/compiled/  BUT INCLUDING THE CVS subfolder!!!!

This completely screws CVS!!

WORKAROUND:  put this into your build.xml to delte the folder after compile:
<target name="post-compile">
  <echo level="warning" message="BUGFIX: deleting ${build.dir}/compiled/CVS" />
  <delete dir="${build.dir}/compiled/CVS" />
</target>   

FIX:
Do not copy CVS subfolders!  NEVER EVER!
Comment 1 Adam Sotona 2006-03-23 16:41:16 UTC
nb-extract task did not perform extraction and copy using standard Ant tasks so
the it ignores standard Ant excludes.

New implementation of the task delegates copy to
org.apache.tools.ant.taskdefs.Copy and extraction to
org.apache.tools.ant.taskdefs.Expand.

This assures filterring of CVS folders as well as many other standardly excluded
files and folder.

Fixed in trunk.
Comment 2 Lukas Hasik 2006-03-29 14:23:13 UTC
seems to be working in trunk build 060328_2

doogie, this fix will be in next q-build of mobility pack that will be published
in next days together with q-build of netbens 6.0. 
Could you try to verify it in this q-build, please?

thank you.
Comment 3 Adam Sotona 2006-04-03 12:03:31 UTC
fixed in 5.5
Comment 4 Fabiola Rios 2006-04-19 10:53:00 UTC
verified in branch 20060418
Comment 5 Lukas Hasik 2006-04-25 15:48:51 UTC
v
Comment 6 doogie 2006-04-25 16:26:25 UTC
Thanks a lot to the netbeans community for this fast fix. We are looking forward
to the next release of Netbeans. Keep up the good work folks!
Robert, Moconso.de, Germany
Comment 7 Ivan Sidorkin 2008-09-10 15:56:04 UTC
close old issues