On 12/03/2011 20:32, Steve Lee (JIRA) wrote:

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

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

So a solution would be to specify an abs path to<src>  element. Does ant have 
predefined constants or a function for cwd?

-1 absolute paths break the build on peoples machines that are not set up the same way.

Furthermore you are assuming this is a problem with out build scripts. I would suggest it is not since there is no issue with Ant 1.7

With respect to your cwd question I'm not sure, but ant is very well documented at [1]. the "basedir" property usually gives you the directory in which the script is located (but this is not guaranteed as it can be changed by the user)

[1] http://ant.apache.org/manual/


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

Reply via email to