Hi!
We have made a build.xml file where we setup the environment
(next_root and so on). When we run this on solaris when logged in as
a user that does not have ~/Library/wobuild.properties we get the
following errormessage:
BUILD FAILED
org.objectstyle.woproject.env.WOBuildPropertiesNotFoundException:
Could not find wobuild.properties. Run the buildfile:
build-user-home-wobuild-properties.xml first.
at
org.objectstyle.woproject.ant.WOApplication.getWOEnvironment(Unknown
Source)
at
org.objectstyle.woproject.ant.WOApplication.standardSet(Unknown
Source)
at
org.objectstyle.woproject.ant.WOApplication.getFrameworkSets(Unknown
Source)
at
org.objectstyle.woproject.ant.WOApplication.hasEmbeddedFrameworks(Unknown
Source)
at org.objectstyle.woproject.ant.WOApplication.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
at org.apache.tools.ant.Task.perform(Task.java:319)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Total time: 12 seconds
If I say
touch ~/Library/wobuild.properties
I don't get this errormessage.
Is casting an exception (WOBuildPropertiesNotFoundException) when not
finding ~/Library/wobuild.properties a bit to dramatic :) Is it a
better idea to just give a warning? Or mabe make it possible to turn
the casting of this exception of in the build.xml file?
-Kaj :)
This archive was generated by hypermail 2.0.0 : Mon Jul 28 2003 - 11:34:25 EDT