Re: [proposal] remove of mkdir and delete

2004-10-12 Thread Stefan Bodewig
On Sun, 10 Oct 2004, sebb [EMAIL PROTECTED] wrote:

 Seems to me that the build files run by Gump should automatically
 create any directories they need anyway? Or am I missing something?

Yes, the directory have to exists before Ant/Maven is started,
creating the during the build is too late.  This is the JVM drops
CLASSPATH entries that don't exist on startup problem.

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [proposal] remove of mkdir and delete

2004-10-12 Thread Stefan Bodewig
On Sun, 10 Oct 2004, Stefano Mazzocchi [EMAIL PROTECTED] wrote:

 AFAIK, delete is currently turned off for security reasons

Is it?

IIRC I added delete to ensure that two different builds inside the
same directory tree didn't affect each other.  mockobjects?  Yes, I
think so.  Basically I was building the same project twice against two
different sets of dependencies.

Not using delete but using to different build directories (or even
separate modules) would have been cleaner.  No problem with cleaning
this up - delete can go.

 and mkdir is something that gump could easily infer by itself
 (basically, gump can try to read all the directories that are
 references in the descriptors and, if not there, they can be built.

If Gump does that, fine.

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [proposal] remove of mkdir and delete

2004-10-12 Thread Adam R. B. Jack

 AFAIK, delete is currently turned off for security reasons

 Is it?

 IIRC I added delete to ensure that two different builds inside the
 same directory tree didn't affect each other.  mockobjects?  Yes, I
 think so.  Basically I was building the same project twice against two
 different sets of dependencies.

 Not using delete but using to different build directories (or even
 separate modules) would have been cleaner.  No problem with cleaning
 this up - delete can go.

It was turned off, until I figured out (i.e. re-read the documentation) that
it could be done relative to the project, so not a danger of deleting /. If
there were any '..' entries in the path it was rejected. Crude, but
hopefully good enough. So, right now it is enabled.

  and mkdir is something that gump could easily infer by itself
  (basically, gump can try to read all the directories that are
  references in the descriptors and, if not there, they can be built.

 If Gump does that, fine.

Yup, I agree. We ought add it to JIRA. We'd be removing an issue for folks
that is quiet obscure, and no new user ought need to know such things.

regards,

Adam


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]