Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 24836 invoked from network); 24 Apr 2007 16:33:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Apr 2007 16:33:22 -0000 Received: (qmail 96183 invoked by uid 500); 24 Apr 2007 16:33:24 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 96150 invoked by uid 500); 24 Apr 2007 16:33:23 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 96136 invoked by uid 99); 24 Apr 2007 16:33:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2007 09:33:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [206.190.58.156] (HELO web55107.mail.re4.yahoo.com) (206.190.58.156) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 24 Apr 2007 09:33:16 -0700 Received: (qmail 96846 invoked by uid 60001); 24 Apr 2007 16:32:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=wPeQgadzYFxgaqKgewIESEm+nPPqAxLIa0SQJsr0e9KTbA15COtbbL3xYbD4S5SONmaCXjGWJ6CqRiX2JwkRWzVshYn4NBE6mF2sSV8x4JRr/hQF3WPZOAgp6OQTLl0a359Y6G5vQ+OeLxKNAlW1HfpZf3G4mJdvZqqjXU54ccA=; X-YMail-OSG: K21NmxUVM1krYaSJD7mSmZP63GYvd9Lufpf8Ct3aiI6DNrrdrtlWlgfQUhj9cajSGK.2NUBDmaMOaKBCl9rsxJT5rpJZTTsJXhEnQbj_iHv45hRMkv9.5RybLDbCOgOn7ZV8l3rPGNIgwFI- Received: from [66.10.233.130] by web55107.mail.re4.yahoo.com via HTTP; Tue, 24 Apr 2007 09:32:55 PDT Date: Tue, 24 Apr 2007 09:32:55 -0700 (PDT) From: Matt Benson Subject: Re: AW: Using ant as a cross platform java process launcher To: Ant Users List In-Reply-To: <462DE615.9030207@calicojack.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <147159.95845.qm@web55107.mail.re4.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --- Rick Moynihan wrote: > Jan.Materne@rzf.fin-nrw.de wrote: > >> So my questions to the ant community: > >> > >> * What is commons launcher doing that ANT alone > isnt? > > > > Personally I havent heard from commons-launcher > before. As you said it > > seems > > that commons-launcher is a modified copy of > ant-launcher. So the best > > place > > to ask this would be (IMHO) the user@commons list. > > > > I have already made inquiries on the > user/dev@commons lists, and I have > also tried contacting the project developers > directly. Unfortunately I > have had little response, which I why I feel that > perhaps there is some > interest within the ANT community. Hence my posting > here. I haven't noticed your inquiries, but I follow those lists. I have recently become a Jakarta committer, and it is my intention to try to become more involved with commons development, especially with regard to components forked from Ant (e.g. exec). So I would encourage you to post JIRA issues and nag commons-dev for attention. Launcher is counted among commons proper, but if there is little attention to it it's probably considered to be in maintenance mode. HTH, Matt > > > > > > >> * Can ANT be used as a launch process for Java > >> processes/daemons without significant problems? > > > > The ant-launcher is implemented in the package > oata.launch [1]. It was > > designed > > as a replacement to the very heavy start scripts > (bat,sh...). So it > > focused on > > Ant's needs. > > The launcher [2] does not start any new process - > it uses the current > > one. So I dont think that you can launch > processes/deamons with the > > launcher. BUT: maybe a buildfile with > / and fork="true" > > would help. > > > > As this is beyond Ant's focus I would not say that > there are no > > significant problems. But _maybe_ it works ;-) > > > > Thanks for the code pointers. I'll be sure to take > a look at them. > > > > >> * Is there any interest within the ANT community > to support this > >> use-case natively within ANT? > > > > Mmmh - there was a discussion earlier. The only > future I would see is a > > base or utility class without any Ant specific > stuff in ant-launcher > > which could be reused in Ant's own launcher. I > think that was the > > intention in commons-launcher. > > > > But Ant does not want to depend on a 3rd party > library in that core > > area. Have in mind: 400+ projects are using Ant > for their bootstrapping > > just in Gump ... And having a circular dependency > between Ant and > > commons-launcher is also not a good thing ... > > Obviously I understand that ANT is a critically > important piece of > infrastructure for a huge number of projects, and I > understand that > ANT's primary focus is and always will be as a build > tool. > > My only point is that *MAYBE* if it is not too much > work, ANT can be > adapted to also fill this role. I have looked at > other projects such as: > > * http://classworlds.codehaus.org/launchusage.html > * > http://wrapper.tanukisoftware.org/doc/english/introduction.html > > However I personally feel that reusing ANT build > files for this sort of > thing is a more elegant solution, as it can leverage > knowledge of ANT > for configuration of classpaths, properties, etc... > > *If* the ant-launcher could be modified to support > this use-case without > any external dependencies etc, I feel it would > nicely fill a need in the > Java community. Obviously adopting ANT to a task it > was not designed > for is not a decision that should be taken lightly, > but I feel it would > be valuable, and can't see why it should impact > ANT's use as a build tool. > > At the end of the day, I like commons launcher and > would be completely > happy with it, if it had a community behind it, > willing to fix the few > bugs I have encountered and drive some more > features. > > So, my current options appear to be either: > > 1. Suggest the ANT project adopts the use-case of an > application launcher. > > 2. Patch commons-launcher myself (which I may well > do) and persuade the > project maintainers to accept my patches (unlikely > given the projects > lack of developers/community). > > 3. Fork commons-launcher and maintain it outside of > Apache. > > The first suggestion is the lowest cost to me, as it > means others can > maintain, run and manage the project. I appreciate > that many factors > are likely to prevent this. If ANT can be modified > in the manner you > suggest, what are the barriers? > > The other two options require a significant > investment of my (and > hopefully others) time. > > What does the ANT community think? > > > R. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org