On Dec 15, 2007 2:19 PM, Steinar Bang <[EMAIL PROTECTED]> wrote: > Platform: Ubuntu 7.10, Intel Pentium M, maven 2.0.4 > > How does one avoid doing a maven-antrun-task when a file is present?
Try wrapping the execution in a profile, and activating that profile on the presence of the file. But actually it sounds like you may want to just activate the profile if one of the files that would be created is _missing_. There's an example of that on this page: http://maven.apache.org/guides/introduction/introduction-to-profiles.html -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
