RE: Version 1.3 of jde-ant.el

2001-06-19 Thread Molitor, Stephen

Cool!  

Would it be possible to have tab completion available when selecting the
build target (when running jde-ant-build, when jde-ant-read-target is on)?
The way find-file works?

Steve Molitor
[EMAIL PROTECTED]

-Original Message-
From: Jason Stell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 19, 2001 7:34 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Version 1.3 of jde-ant.el


I've attached a version 1.3 of jde-ant.el (modified from that
distributed with JDE 2.2.8beta1).
It defines the new function jde-ant-projecthelp, which invokes Ant with
the -projecthelp switch to list all available targets for the current
buildfile.

Regards
Jason



Re: Version 1.3 of jde-ant.el

2001-06-19 Thread Jason Stell

Hmmm... that would indeed be nice, but, not being an elisp pro, I'm not quite
sure about if/how this could be done. You'd have to parse the output of
jde-ant-projecthelp and read the available targets, then integrate this into
the emacs expand facility

Anyone have any ideas/thoughts on this?

Jason

Molitor, Stephen wrote:

 Cool!

 Would it be possible to have tab completion available when selecting the
 build target (when running jde-ant-build, when jde-ant-read-target is on)?
 The way find-file works?

 Steve Molitor
 [EMAIL PROTECTED]

 -Original Message-
 From: Jason Stell [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 19, 2001 7:34 AM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Version 1.3 of jde-ant.el

 I've attached a version 1.3 of jde-ant.el (modified from that
 distributed with JDE 2.2.8beta1).
 It defines the new function jde-ant-projecthelp, which invokes Ant with
 the -projecthelp switch to list all available targets for the current
 buildfile.

 Regards
 Jason


begin:vcard 
n:Stell;Jason
tel;pager:800-724-3329 PIN 382-8028
tel;work:(703) 471-2529
x-mozilla-html:FALSE
url:http://www.intelixinc.com
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Consultant (Intelix, Inc.)
fn:Jason Stell
end:vcard



RE: Version 1.3 of jde-ant.el

2001-06-19 Thread Molitor, Stephen

OK, I'll look into it!  It's time for me to stop mooching and do something
for JDE (even if it's just a tiny little thing like this)!

I'll try to get something by Monday (June 25).

Steve Molitor
[EMAIL PROTECTED]


-Original Message-
From: Jason Stell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 19, 2001 9:08 AM
To: Molitor, Stephen
Cc: [EMAIL PROTECTED]
Subject: Re: Version 1.3 of jde-ant.el


Hmmm... that would indeed be nice, but, not being an elisp pro, I'm not
quite
sure about if/how this could be done. You'd have to parse the output of
jde-ant-projecthelp and read the available targets, then integrate this into
the emacs expand facility

Anyone have any ideas/thoughts on this?

Jason

Molitor, Stephen wrote:

 Cool!

 Would it be possible to have tab completion available when selecting the
 build target (when running jde-ant-build, when jde-ant-read-target is on)?
 The way find-file works?

 Steve Molitor
 [EMAIL PROTECTED]

 -Original Message-
 From: Jason Stell [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 19, 2001 7:34 AM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Version 1.3 of jde-ant.el

 I've attached a version 1.3 of jde-ant.el (modified from that
 distributed with JDE 2.2.8beta1).
 It defines the new function jde-ant-projecthelp, which invokes Ant with
 the -projecthelp switch to list all available targets for the current
 buildfile.

 Regards
 Jason



Re: Version 1.3 of jde-ant.el

2001-06-19 Thread Knut Wannheden

Molitor, Stephen [EMAIL PROTECTED] writes:

 Cool!  
 
 Would it be possible to have tab completion available when selecting the
 build target (when running jde-ant-build, when jde-ant-read-target is on)?
 The way find-file works?
 

[...]

For this purpose one could also use regexps or sgml-mode functions.
This would definitely be faster, but would require more work.  Users
who don't want to have a JVM launched when running jde-ant-build would
probably simply set jde-ant-read-target to nil.  I guess it is
especially annoying if the list has to be rebuilt every time the
command is invoked.  Or can this be delayed until the user actually
tries to make use of completion (i.e. hitting TAB, SPACE, or RET)?

-- 
knut



RE: Version 1.3 of jde-ant.el

2001-06-19 Thread Nick Sieger
Title: RE: Version 1.3 of jde-ant.el





Perhaps ant -projecthelp could be spawned inside of the beanshell. This would avoid the JVM startup costs. For that matter, maybe ant could always be spawned in the beanshell. The only difficulty I see would be to capture its output properly and display in an *ant* buffer running in compilation-mode. But maybe it isn't all that difficult, just tedious.

/Nick


-Original Message-
From: Knut Wannheden [mailto:[EMAIL PROTECTED]]On Behalf Of
Knut Wannheden
Sent: Tuesday, June 19, 2001 10:02 AM
To: Molitor, Stephen
Cc: 'Jason Stell'; [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: Version 1.3 of jde-ant.el



Molitor, Stephen [EMAIL PROTECTED] writes:


 Cool! 
 
 Would it be possible to have tab completion available when selecting the
 build target (when running jde-ant-build, when jde-ant-read-target is on)?
 The way find-file works?
 


[...]


For this purpose one could also use regexps or sgml-mode functions.
This would definitely be faster, but would require more work. Users
who don't want to have a JVM launched when running jde-ant-build would
probably simply set jde-ant-read-target to nil. I guess it is
especially annoying if the list has to be rebuilt every time the
command is invoked. Or can this be delayed until the user actually
tries to make use of completion (i.e. hitting TAB, SPACE, or RET)?


-- 
knut





Re: Version 1.3 of jde-ant.el

2001-06-19 Thread Jason Stell

I concur, but I don't think we want to couple jde-ant with the Ant XML schema.
I would rather delegate to the Ant program.

I thought about the possibilty of using beanshell to invoke the Ant program
main. This would relieve the cost of starting up an additional VM. However, Ant
comes with shell scripts that--I believe--provide some useful/relevant
functionality, such as allowing the user to have a .antrc file. I'm reluctant to
move/duplicate this functionality to jde-ant, since not everyone using Ant to
build projects will be building strictly from JDE (if they even use JDE at
all...). Thoughts?

Jason

Knut Wannheden wrote:

 Molitor, Stephen [EMAIL PROTECTED] writes:

  Cool!
 
  Would it be possible to have tab completion available when selecting the
  build target (when running jde-ant-build, when jde-ant-read-target is on)?
  The way find-file works?
 

 [...]

 For this purpose one could also use regexps or sgml-mode functions.
 This would definitely be faster, but would require more work.  Users
 who don't want to have a JVM launched when running jde-ant-build would
 probably simply set jde-ant-read-target to nil.  I guess it is
 especially annoying if the list has to be rebuilt every time the
 command is invoked.  Or can this be delayed until the user actually
 tries to make use of completion (i.e. hitting TAB, SPACE, or RET)?

 --
 knut


begin:vcard 
n:Stell;Jason
tel;pager:800-724-3329 PIN 382-8028
tel;work:(703) 471-2529
x-mozilla-html:FALSE
url:http://www.intelixinc.com
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Consultant (Intelix, Inc.)
fn:Jason Stell
end:vcard