[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-dev] Development Tip of the Day - Using Multiple Eclipse Workspaces
|
Hi Matt!
I have on my laptop 14 such workspaces. This hint will also help you upgrade to newer/different
versions of Eclipse, without risking to loose a previous working one.
Thanks for the -showLocation. Nice one!
cheers,
./alex
--
.w( the_mindstorm )p.
#: Matthew Webster changed the world a bit at a time by saying on 11/22/2005 4:48 PM :#
If you are like me you often work on more than one bug at a time. Using
the same workspace for each can be problematic when it comes to testing,
committing code or building patches, especially if the changes
overlap.Then if a patch goes stale recovering it can be difficult: much
better to keep the workspace where it was created and merge from CVS.
However checking out a new version from head can be a pain: you have to
define the variables (JRE14_LIB, JRE15_LIB), switch of the 800+ warnings
so that you can see the ones you create and then do all that
customization. The answer: clone the workspace.
First checkout a fresh AspectJ, define the variables, turn off the
warnings and run the tests. Then make JDK 1.3 the default so that you
don't add ant 1.4/1.5 APIs by mistake. Create some run configurations for
you favourite tests e.g. RunTheseBeforeYouCommitTests making sure to set
the JRE to 1.5. Now you have a fresh workspace with no warnings and not
outgoing changes so you are ready to clone.
Simply copy the workspace giving it a meaning name e.g. a bug number.
Start Eclipse making sure it prompts you for the workspace and voila you
are ready to go. Use the "showLocation" option so that the titlebar
indicate which workspace you are using:
C:\eclipse_3.1.1\eclipse.exe -showLocation -vmargs -Xmx512M
The copy takes only a minute or so which gives you time to read the bug
report or fill in the enhancement details. When you have committed the
changes leave the workspace lying around as long as you like, say until
the next successful build. Then you can delete it or rename and reuse.
Cheers
Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester, SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/
!DSPAM:43833023616201035676988!
------------------------------------------------------------------------
_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev
!DSPAM:43833023616201035676988!