You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Fintan Bolton (JIRA)" <ji...@apache.org> on 2006/11/13 10:26:37 UTC

[jira] Created: (CXF-235) Bug in Ant script when trying to build samples/hello_world demo

Bug in Ant script when trying to build samples/hello_world demo
---------------------------------------------------------------

                 Key: CXF-235
                 URL: http://issues.apache.org/jira/browse/CXF-235
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.0-M1
         Environment: Windows XP
            Reporter: Fintan Bolton
            Priority: Minor


When you try to build the samples/hello_world demo, ant complains that there is no such file as ../../../../target/srcbuild_paths.xml.  
It turns out that there are a few lines in samples/common_build.xml devoted to defining some files for the source distribution.  You can work around the
problem by commenting out those lines.

This problem arose in the version of CXF that was included in the Inferno kit built on Nov. 9.  This was a BINARY kit.  It looks as if the samples/common.build.xml file accidentally included some lines that were intended for the SOURCE kiit.

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

        

[jira] Commented: (CXF-235) Bug in Ant script when trying to build samples/hello_world demo

Posted by "Fintan Bolton (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/CXF-235?page=comments#action_12449620 ] 
            
Fintan Bolton commented on CXF-235:
-----------------------------------

Here is the error I get when I try to run the hello_world demo:

Buildfile: build.xml

BUILD FAILED
C:\Programs\Inferno\samples\hello_world\build.xml:22: The following error occurred while executing this line:
C:\Programs\Inferno\samples\common_build.xml:35: The file or path you specified
(..\..\..\..\target\srcbuild_paths.xml) is invalid relative to C:\Programs\Inferno\samples

Total time: 0 seconds

The error might be triggered by the fact that ..\..\..\..\target\srcbuild_paths.xml tries to look four directories up from C:\Programs\Inferno, which brings you beyond the root directory.

> Bug in Ant script when trying to build samples/hello_world demo
> ---------------------------------------------------------------
>
>                 Key: CXF-235
>                 URL: http://issues.apache.org/jira/browse/CXF-235
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0-M1
>         Environment: Windows XP
>            Reporter: Fintan Bolton
>            Priority: Minor
>
> When you try to build the samples/hello_world demo, ant complains that there is no such file as ../../../../target/srcbuild_paths.xml.  
> It turns out that there are a few lines in samples/common_build.xml devoted to defining some files for the source distribution.  You can work around the
> problem by commenting out those lines.
> This problem arose in the version of CXF that was included in the Inferno kit built on Nov. 9.  This was a BINARY kit.  It looks as if the samples/common.build.xml file accidentally included some lines that were intended for the SOURCE kiit.

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

        

[jira] Resolved: (CXF-235) Bug in Ant script when trying to build samples/hello_world demo

Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/CXF-235?page=all ]

willem Jiang resolved CXF-235.
------------------------------

    Resolution: Fixed

> Bug in Ant script when trying to build samples/hello_world demo
> ---------------------------------------------------------------
>
>                 Key: CXF-235
>                 URL: http://issues.apache.org/jira/browse/CXF-235
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0-M1
>         Environment: Windows XP
>            Reporter: Fintan Bolton
>            Priority: Minor
>
> When you try to build the samples/hello_world demo, ant complains that there is no such file as ../../../../target/srcbuild_paths.xml.  
> It turns out that there are a few lines in samples/common_build.xml devoted to defining some files for the source distribution.  You can work around the
> problem by commenting out those lines.
> This problem arose in the version of CXF that was included in the Inferno kit built on Nov. 9.  This was a BINARY kit.  It looks as if the samples/common.build.xml file accidentally included some lines that were intended for the SOURCE kiit.

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

        

[jira] Commented: (CXF-235) Bug in Ant script when trying to build samples/hello_world demo

Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/CXF-235?page=comments#action_12449643 ] 
            
willem Jiang commented on CXF-235:
----------------------------------

If the distribution place less the 2 level relates to root directory ant will be failed
Just like C:\Programs\Inferno\samples + related path(..\..\..\..\target\srcbuild_paths.xml)  will be out of root path.
So I comment it in revision 474725

> Bug in Ant script when trying to build samples/hello_world demo
> ---------------------------------------------------------------
>
>                 Key: CXF-235
>                 URL: http://issues.apache.org/jira/browse/CXF-235
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0-M1
>         Environment: Windows XP
>            Reporter: Fintan Bolton
>            Priority: Minor
>
> When you try to build the samples/hello_world demo, ant complains that there is no such file as ../../../../target/srcbuild_paths.xml.  
> It turns out that there are a few lines in samples/common_build.xml devoted to defining some files for the source distribution.  You can work around the
> problem by commenting out those lines.
> This problem arose in the version of CXF that was included in the Inferno kit built on Nov. 9.  This was a BINARY kit.  It looks as if the samples/common.build.xml file accidentally included some lines that were intended for the SOURCE kiit.

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

        

[jira] Commented: (CXF-235) Bug in Ant script when trying to build samples/hello_world demo

Posted by "tli (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/CXF-235?page=comments#action_12449572 ] 
            
tli commented on CXF-235:
-------------------------

Currently, the common_build.xml has <import file="${srcbuild_paths.file}" optional="true"/> line, which won't stop the build, if the ../../../../target/srcbuild_paths.xml file not found.
But for source kit, after running "mvn install" under the trunk, you still needs to run "mvn install" under the distribution module because the trunk pom.xml won't install distribution module and the demos running needs distribution module install before.


> Bug in Ant script when trying to build samples/hello_world demo
> ---------------------------------------------------------------
>
>                 Key: CXF-235
>                 URL: http://issues.apache.org/jira/browse/CXF-235
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0-M1
>         Environment: Windows XP
>            Reporter: Fintan Bolton
>            Priority: Minor
>
> When you try to build the samples/hello_world demo, ant complains that there is no such file as ../../../../target/srcbuild_paths.xml.  
> It turns out that there are a few lines in samples/common_build.xml devoted to defining some files for the source distribution.  You can work around the
> problem by commenting out those lines.
> This problem arose in the version of CXF that was included in the Inferno kit built on Nov. 9.  This was a BINARY kit.  It looks as if the samples/common.build.xml file accidentally included some lines that were intended for the SOURCE kiit.

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