[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-dev] Creating a unique ajSandbox root directory
|
There's also AjdeInteractionTestbed.createEmptySandbox() and
AjdocTestCase.createEmptySandbox() which do the same as
Ajc.createEmptySandbox(). These should probably be updated too if you
change the Ajc one.
Helen
Matthew
Webster/UK/IBM@IB
MGB To
Sent by: AspectJ developer discussions
aspectj-dev-bounc <aspectj-dev@xxxxxxxxxxx>
es@xxxxxxxxxxx cc
Subject
14/06/2006 14:11 [aspectj-dev] Creating a unique
ajSandbox root directory
Please respond to
AspectJ developer
discussions
<aspectj-dev@ecli
pse.org>
There is currently a nasty gotcha if you run the compiler tests in two
workspaces at the same time: the tests fail. This is because the
"ajcTestNNNN.tmp" names can clash and the contents or the whole directory
can be deleted by the other workspace (I noticed this while running a
release build in the background which can take an hour). A simple solution
would be to add the current workspace name (appropriately sanitized not use
spaces or slashes etc) which would result in names like
"c:\temp\ajSandox\c__workspaces_org.aspectj\ajcTest49469.tmp". I know the
names are a little longer but this way you can have results left from
running tests in 2 workspaces. If there are no objections I will make the
necessary changes in Ajc.createEmptySandbox().
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/
_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev