Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 5422 invoked from network); 8 Mar 2004 20:35:22 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Mar 2004 20:35:22 -0000 Received: (qmail 23437 invoked by uid 500); 8 Mar 2004 20:35:10 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 23400 invoked by uid 500); 8 Mar 2004 20:35:10 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 23386 invoked from network); 8 Mar 2004 20:35:09 -0000 Received: from unknown (HELO us1ex1.corp.e2open.com) (129.41.18.190) by daedalus.apache.org with SMTP; 8 Mar 2004 20:35:09 -0000 Received: by us1ex1.corp.e2open.com with Internet Mail Service (5.5.2657.72) id ; Mon, 8 Mar 2004 12:34:31 -0800 Message-ID: <9D2C6E61BF2E484A98AAC680695EDA6E0A146371@us1ex1.corp.e2open.com> From: Kenneth Wood To: Ant Developers List Subject: RE: Any interest in a remote Ant server? Date: Mon, 8 Mar 2004 12:33:02 -0800 Deferred-Delivery: Mon, 8 Mar 2004 12:32:00 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Did you follow and read the "Related Projects" link from the Ant home page? Because such a beast already exits: Rant: Rant stands for Remote Ant. It is a distributed build system that allows an Ant build file to launch builds on other systems and receive exceptions should they occur. Compatibility: Ant 1.4 URL: http://sourceforge.net/projects/remoteant/ Contact: Chris Nelson License: MIT License -----Original Message----- From: Robert Smith [mailto:rsmith@comnitel.com] Sent: Monday, March 08, 2004 2:30 PM To: dev@ant.apache.org Subject: Any interest in a remote Ant server? Hi all, I've written an add-on for Ant that allows for remote builds. It consists of an RMI based server application and a handful of custom Ant tasks on the client side. My motivation for this was to allow C/C++ code to be built on remote machines for multiple architectures from the comfort of the developer's Eclipse IDE on Windows. I tried Rant, but found it too limiting, so I've done my own version, complete with file transfers and synchronous logging (which took some work to make it all serialize/deserialize properly across RMI!) Now that I've got it working, the question is, what do I do with it? Is there even any interest out there for such a thing? Who should I talk to at apache? Should I just throw it up on my own web page? Here's how it works from the user's perspective. Please let me know how to proceed. By the way, I have a new set of Ant tasks for Eclipse that allow you to use the .classpath file from inside *or* outside the IDE. I needed this to allow our continuous integration server to use the same build process as the developer's IDE. Any interest there? Cheers, Robert --------------------------------------- Successful build log from client: Buildfile: C:\Program Files\eclipse\workspace\RemoteAnt2\build.xml c-all: [echo] Begining remote build [createSession] Created remote session: clare:192.168.1.97:20042872453 [putFiles] Transfering 1 files to clare [putFiles] Transfering 3 files to clare [remoteBuild] Building on clare using SolarisCBuild.xml clare.test: [clare.echo] Building C code for Sun Sparc Solaris [clare.cc] 2 total files to be compiled. [clare.cc] Starting link c-all: [getFile] Recieving ctjava from clare [getFile] Copied ctjava from clare to C:\Program Files\eclipse\workspace\RemoteAnt2/Configuration/bin/ctjava [closeSession] Session clare:192.168.1.97:20042872453 closed. BUILD SUCCESSFUL Total time: 11 seconds ----------------------------------------- Failed build log from client: Buildfile: C:\Program Files\eclipse\workspace\RemoteAnt2\build.xml c-all: [echo] Begining remote build [createSession] Created remote session: clare:192.168.1.97:2004287186 [putFiles] Transfering 1 files to clare [putFiles] Transfering 3 files to clare [remoteBuild] Building on clare using SolarisCBuild.xml clare.test: [clare.echo] Building C code for Sun Sparc Solaris [clare.cc] 2 total files to be compiled. BUILD FAILED: /tmp/builds/192.168.1.97/2004287186/SolarisCBuild.xml:6: Could not launch gcc: java.io.IOException: gcc: not found BUILD FAILED: file:C:/Program Files/eclipse/workspace/RemoteAnt2/build.xml:89: Build failed on host clare. Total time: 8 seconds ----------------------------------------- Failed build log from server: 0 [main] INFO com.rjmpsmith.ant.RemoteAntServer - Starting server on host clare port 2020. 1641 [main] INFO com.rjmpsmith.ant.RemoteAntServer - Bound rmi://clare:2020/RemoteBuildServices 10439 [RMI TCP Connection(2)-192.168.1.97] INFO com.rjmpsmith.ant.RemoteBuildServices - Created remote session: clare:192.168.1.97:200428713 10606 [RMI TCP Connection(2)-192.168.1.97] DEBUG com.rjmpsmith.ant.RemoteBuildServices - Recieving /tmp/builds/192.168.1.97/200428713/SolarisCBuild.xml 10840 [RMI TCP Connection(2)-192.168.1.97] DEBUG com.rjmpsmith.ant.RemoteBuildServices - Recieving /tmp/builds/192.168.1.97/200428713/c/ctjava/src/ctext.c 10858 [RMI TCP Connection(2)-192.168.1.97] DEBUG com.rjmpsmith.ant.RemoteBuildServices - Recieving /tmp/builds/192.168.1.97/200428713/c/ctjava/src/ctext.h 10876 [RMI TCP Connection(2)-192.168.1.97] DEBUG com.rjmpsmith.ant.RemoteBuildServices - Recieving /tmp/builds/192.168.1.97/200428713/c/ctjava/src/ctjexec.c 10903 [RMI TCP Connection(2)-192.168.1.97] INFO com.rjmpsmith.ant.RemoteBuildServices - Beggining Ant build for session clare:192.168.1.97:200428713 using SolarisCBuild.xml 17602 [RMI TCP Connection(2)-192.168.1.97] ERROR com.rjmpsmith.ant.RemoteBuildServices - Build failed for session clare:192.168.1.97:200428713 /tmp/builds/192.168.1.97/200428713/SolarisCBuild.xml:6: Could not launch gcc: java.io.IOException: gcc: not found at net.sf.antcontrib.cpptasks.CUtil.runCommand(CUtil.java:476) at net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler.runCommand(CommandLi neCompiler.java:269) at net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler.compile(CommandLineC ompiler.java:226) ----------------------------------------- Ant task usage: --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org