Bug 30440 - Provide an ant task for setting the derived bit.
Summary: Provide an ant task for setting the derived bit.
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P5 enhancement with 5 votes (vote)
Target Milestone: ---   Edit
Assignee: Szymon Ptaszkiewicz CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks: 30227
  Show dependency tree
 
Reported: 2003-01-28 16:25 EST by Olivier Thomann CLA
Modified: 2012-06-19 15:17 EDT (History)
5 users (show)

See Also:


Attachments
Patch v.0.1 (6.20 KB, patch)
2010-11-04 14:45 EDT, Szymon Ptaszkiewicz CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2003-01-28 16:25:27 EST
We'd like to provide an ant script that will be called on a full build action.
This script will generate a file (jdtCompilerAdapter.jar). Therefore that file
needs to be set as derived (generated by a builder).
The new external tools builder allows to call an ant script easily. In the same
way, the refresh task is available, I think it makes sense to have a custom ant
task to set the derived bit on a file.
This is fairly important to fix the bug 30227.
Comment 1 Gilles Scokart CLA 2003-08-21 03:28:34 EDT
What is happening with this one.  Is it planned for a next release?  It would 
indeed be very usefull when you have a ant script that generate source code.
Comment 2 John Arthorne CLA 2005-01-06 12:25:14 EST
Marking old enhancement requests that we don't intend to fix in the near future
as RESOLVED LATER. This does not mean we will never do them, but it means we
have no specific plans to address them.
Comment 3 Daniel Aborg CLA 2007-07-30 10:48:31 EDT
I would also like to see this implemented, as it would be useful to have a way to automatically signify the fact that certain directories are built by external builders. In our projects the "build" and "publish" directories are built by ant and should be marked as derived so their contents don't show up in searches.

It's a pretty soul-crushing task to mark the "build" and "publish" folders of 135 projects as derived, as there's no programmatic way of doing so. Combined with Eclipse forgetting the derived bit randomly and the inability to share it with others, it's not something that you particularly want to spend your time doing.

It would be ideal if there was either an external way to mark folders as derived, or if the derived bit could be committed to version control so it only has to be done once (bug 150578).
Comment 4 Szymon Brandys CLA 2008-09-08 08:48:11 EDT
RESOLVED LATER is deprecated.
Comment 5 Szymon Ptaszkiewicz CLA 2010-11-04 14:45:47 EDT
Created attachment 182412 [details]
Patch v.0.1