On Mon, 18 Mar 2002 18:32, Eung-ju Park wrote:
> How do I surge cache package in CVS?
> I will try to surge if it is not difficult to me. ;-)
"surge" ? No idea what that means :)
I guess you mean separate out. Well it really depends on whether or not you
want to keep your revision history. If you do want to keep it then you need
to log into cvs.apache.org and do something like the following
$ cd /home/cvs/jakarta-avalon-excalibur
$ cd all
$ mkdir -p ../cache/src/java/org/apache/avalon/excalibur
$ mkdir -p ../cache/src/test/org/apache/avalon/excalibur/cache
$ cp -R src/scratchpad/org/apache/avalon/excalibur/cache
../cache/src/java/org/apache/avalon/excalibur
$ mv ../cache/src/java/org/apache/avalon/excalibur/cache/test
../cache/src/test/org/apache/avalon/excalibur/cache
$ chmod -R ugo+r ../cache
$ chmod -R ugo-w ../cache
$ find ../cache -type d -exec chmod ugo+x {} \; -print
This will copy all the history of code and unit tests into new hierarchy and
make sure it has the correct permissions.
Then you just check it out using CVS, delete the old code in
all/src/scratchpad/org/apache/avalon/excalibur/cache and then get the cache
product to build. Use ont of the other packages as an example and copy/modify
the build.xml + project.properties files into cache/
If cache has external dependencies then they can be setup via a property file
like I described in the previous mail.
--
Cheers,
Pete
---------------------------------------------------
"Therefore it can be said that victorious warriors
win first, and then go to battle, while defeated
warriors go to battle first, and then seek to win."
- Sun Tzu, the Art Of War
---------------------------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>