Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > [Eclipse / Ant] How to write protect source-code folders?

Reply
Thread Tools

[Eclipse / Ant] How to write protect source-code folders?

 
 
MArtin Schumacher
Guest
Posts: n/a
 
      12-14-2003
Hi everyone,

I've got here an interesting problem:
We generate some classes for our project with androMDA[1]. This sources
now should be readable in Eclipse. But only readable, nobody should be
able to edit them. The best would be an file-system-based write
protection. But only Eclipse would be usefull too.

Does anyone knows an option or a property in Eclipse to write protect
different source-code folders? We have one source-code folder for our
handwritten code and several different folders which contain the
generated source code. These folders we want to writeprotect.

We played around a little bit with ant to solve this. We integrated in
our build file an ant-zip-task. In the zipfileset element we could set
the writeprotection via an unix-style comnination of numbers (like chmod
777). That works fine, but ant-the unzip-task does not regognize the
file settings. and unpacks everything without write protection. With
other Zip-tools we can unpack the source code files as they are in the
zip - write protected...

Has anyone an idea how to solve this?

Thanks,
MArtin


[1] http://www.andromda.org

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to write-protect names Gregor Lingl Python 6 09-18-2003 08:22 PM
Write-protect error on Flash memory card Quiet Voice Digital Photography 2 09-11-2003 10:54 PM
Turning off 'Write Protect' on SmartMedia Cards? Jacko Digital Photography 0 08-31-2003 04:30 PM
Olympus SmartMedia Card Write Protect Firmware Charles Koberg Digital Photography 1 07-21-2003 06:36 PM
Removal of Olympus SmartMedia Card Write Protect Charles Koberg Digital Photography 2 07-19-2003 06:39 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57