You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2010/01/30 11:28:35 UTC

DO NOT REPLY [Bug 48641] New: "ant -u url" should enable ant to launch with a build.xml located on a remote server, currently ant requires build.xml to be a local file

https://issues.apache.org/bugzilla/show_bug.cgi?id=48641

           Summary: "ant -u url" should enable ant to launch with a
                    build.xml located on a remote server, currently ant
                    requires build.xml to be a local file
           Product: Ant
           Version: 1.8.0RC1
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
        AssignedTo: notifications@ant.apache.org
        ReportedBy: thorbjoern@gmail.com


We frequently have a need to bootstrap an environment on a machine where ant is
available but not much else, and where the complete environment is present on
our webserver including the build.xml file.  It would be really nice to be able
to just have ant use that remote build.xml file directly.

An initial, naive patch (basedir is undefined, url is not registered) is
provided.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 48641] "ant -u url" should enable ant to launch with a build.xml located on a remote server, currently ant requires build.xml to be a local file

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48641

Antoine Levy-Lambert <an...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.8.1                       |1.8.2

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 48641] "ant -u url" should enable ant to launch with a build.xml located on a remote server, currently ant requires build.xml to be a local file

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48641

Antoine Levy-Lambert <an...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.8.0RC1                    |1.8.0

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 48641] "ant -u url" should enable ant to launch with a build.xml located on a remote server, currently ant requires build.xml to be a local file

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48641

--- Comment #1 from Thorbjørn Ravn Andersen <th...@gmail.com> 2010-01-30 02:36:03 UTC ---
Created an attachment (id=24909)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24909)
patch providing naive -u, -url, -buildurl functionality

-u method downloads remote URL to a temporary file and sets buildFile variable
to this.  Naive implementation, hence basedir is undefined and must be set
explicitly by user.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 48641] "ant -u url" should enable ant to launch with a build.xml located on a remote server, currently ant requires build.xml to be a local file

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48641

Antoine Levy-Lambert <an...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.8.0                       |1.8.1

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.