You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Steve Lee (JIRA)" <ji...@apache.org> on 2011/03/12 21:18:59 UTC

[jira] Commented: (WOOKIE-152) Problem building Wookie using Ant 1.8 (was: Build paths doubling up Windows XP SP3 & 7)

    [ https://issues.apache.org/jira/browse/WOOKIE-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006086#comment-13006086 ] 

Steve Lee commented on WOOKIE-152:
----------------------------------

Here are some observations that may help solve this

* The error seems to be the ant javac task fstating the generated srcdir before calling the compiler 
* The error is definitely in the conversion of a relative path in the src sub element to an absolute one (doesn't happen if you prefix with /)
* Using srcdir attribute makes no difference
* Using sourcepath="" has no effect
* To convert to abs path it prefixes with /Users/stevelee/wookie/features/camera/ which is strange as the base dir can be expected to be /Users/stevelee/wookie or Users/stevelee/wookie/features/ as that is where those build files live and cwd is the former. There seems no reason for the camera bit at all.
* It's possible to hypothesise that ant 1.8 cwds for a subant task but that still doesn't explain the camera bit.
* <project basedir= has no effect.

Finally I notice that wookie.features.dir is defined in the features build file but that definition is ignored. Also the parent build uses it but doesn't not define it. So perhaps its in an included file in parent and inherited so local definition in child doesn't get used? Is this what inherit all does?

* perhaps something is define the base dir to be /Users/stevelee/wookie/features/camera/ but what?


> Problem building Wookie using Ant 1.8 (was: Build paths doubling up Windows XP SP3 & 7)
> ---------------------------------------------------------------------------------------
>
>                 Key: WOOKIE-152
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-152
>             Project: Wookie
>          Issue Type: Bug
>    Affects Versions: 0.9.2
>         Environment: Tested on Windows XP SP3 & 7
>            Reporter: Franck Perrin
>             Fix For: 0.9.1
>
>
> When building the wookie server I obtain the following error:
> build-feature:
>     [javac] D:\Dev Wookie\trunk\features\build.xml:40: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> BUILD FAILED
> D:\Dev Wookie\trunk\ant\ivy-java-common.xml:117: The following error occurred while executing this line:
> D:\Dev Wookie\trunk\build.xml:273: The following error occurred while executing this line:
> D:\Dev Wookie\trunk\features\build.xml:40: srcdir "D:\Dev Wookie\trunk\features\camera\features\camera\src" does not exist!
> It seems that the path is concatenating twice: trunk\features\camera\features\camera
> The same happens for the widgets (e.g.: trunk\widets\bubbles\widgets\bubbles)
> The xml files look fine:
>    <src path="${wookie.features.dir}/${feature.shortname}/src" />
> I've check the two variables and they are fine...I have no clue where the doubling occurs.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira