[OS-JIRA] Created: (WOL-1005) target build.woapp fails on windows because of missing properties

From: Alexander Neu (JIRA) ("Alexander)
Date: Tue Apr 21 2009 - 10:49:18 EDT

  • Next message: Greg Brown: "Will maven soon make projects without errors?"

    target build.woapp fails on windows because of missing properties
    -----------------------------------------------------------------

                     Key: WOL-1005
                     URL: http://issues.objectstyle.org/jira/browse/WOL-1005
                 Project: WOProject/WOLips
              Issue Type: Bug
              Components: woenvironment
             Environment: Windows XP
                Reporter: Alexander Neu

    When trying to build a WO Application or a Wonder Application on a Windows Environment, build fails on target build.woapp:

    ...
    [woapplication] Resources\Properties omitted as D:\Test\workspace\wo-app\dist\wo-app.woa\Contents\Resources\Properties is up to date.
    [woapplication] No sources found.

    [woapplication] No sources found.
    [woapplication] No sources found.
    [woapplication] AppFormat prepare

    BUILD FAILED
    org.objectstyle.woenvironment.env.WOBuildPropertiesNotFoundException: Could not find wobuild.properties. Run the buildfile: woproperties.xml first.
            at org.objectstyle.woproject.ant.WOApplication.getWOEnvironment(Unknown Source)
            at org.objectstyle.woproject.ant.AppFormat.buildFrameworkPaths(Unknown Source)
            at org.objectstyle.woproject.ant.AppFormat.preparePaths(Unknown Source)
            at org.objectstyle.woproject.ant.AppFormat.prepare(Unknown Source)
            at org.objectstyle.woproject.ant.AppFormat.<init>(Unknown Source)
            at org.objectstyle.woproject.ant.WOApplication.execute(Unknown Source)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
            at org.apache.tools.ant.Task.perform(Task.java:348)
            at org.apache.tools.ant.Target.execute(Target.java:357)
            at org.apache.tools.ant.Target.performTasks(Target.java:385)
            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
            at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
            at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
            at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

    An wobuild.properties has not been created automatically in <user home>/Library or <user home>/Library/Application Support/WOLips.

    After looking at the code of WOEnvironment etc., it seems to me that the properties wo.wosystemroot and wo.wolocalroot have not been recognized, although they are printed out when adding a <echoproperties/> for example in the compile-target.
    Their values are
    [echoproperties] wo.wosystemroot=C\:\\Apple
    [echoproperties] wo.wolocalroot=C\:\\Apple\\Local

    We got the same environment running with WOLips 3.4.5569, which was the latest which was working for us. The next update was tried at the end of 2008 and also failed.

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Tue Apr 21 2009 - 10:50:42 EDT