commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [exec] Java 5 and generics
Date Sat, 11 Jan 2014 12:37:35 GMT
The length of the build is not an issue IMO. It's only a couple of minutes. 

G

-------- Original message --------
From: Benedikt Ritter <britter@apache.org> 
Date:01/11/2014  06:28  (GMT-05:00) 
To: Commons Developers List <dev@commons.apache.org> 
Subject: Re: [exec] Java 5 and generics 

2014/1/11 sebb <sebbaz@gmail.com>

> On 11 January 2014 10:50, Benedikt Ritter <britter@apache.org> wrote:
> > Hi,
> >
> > I'm working on it, but you're invited to help out ;-)
> >
> > Currently I'm not sure if we're going in the right direction here. The
> exec
> > website says that exec fill the need for something like ProcessBuilder in
> > Java < 5. In Java > 5 you would probably use the ProcessBuilder directly.
> > Now we have updated to Java 5, which excludes the only user group that
> had
> > a real need for it from using it :-)
>
> Good point.
>
> However Exec does offer some additional features such as variable
> substitution and watchdog etc that should still be useful in Java 5.
>
> But we should probably rewrite it to get rid of the OS-specific
> classes and privatise/finalise as much as possible.
> So maybe an Exec2 would be a good idea?
> We can then break binary compat.
>

Okay for me. This way we can get generics right (see my reply to you're
commit).

Another thing that needs fixing it the test environment. It just takes
forever. But I currently don't know how to speed things up.


>
> > Benedikt
> >
> >
> > 2014/1/11 sebb <sebbaz@gmail.com>
> >
> >> On 11 January 2014 02:17, Gary Gregory <garydgregory@gmail.com> wrote:
> >> > Hi All,
> >> >
> >> > Now that [exec] has 'graduated' to Java 5, we are getting a bunch of
> >> > generics raw warnings.
> >> >
> >> > It would be nice to get these cleaned up ;)
> >>
> >> Had a quick look.
> >> Some fixes look easy, but some are not immediately obvious - for
> >> example, the substitution Map values can be String or File (according
> >> to the tests).
> >>
> >> > Gary
> >> >
> >> > --
> >> > E-Mail: garydgregory@gmail.com | ggregory@apache.org
> >> > Java Persistence with Hibernate, Second Edition<
> >> http://www.manning.com/bauer3/>
> >> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> >> > Spring Batch in Action <http://www.manning.com/templier/>
> >> > Blog: http://garygregory.wordpress.com
> >> > Home: http://garygregory.com/
> >> > Tweet! http://twitter.com/GaryGregory
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> >> For additional commands, e-mail: dev-help@commons.apache.org
> >>
> >>
> >
> >
> > --
> > http://people.apache.org/~britter/
> > http://www.systemoutprintln.de/
> > http://twitter.com/BenediktRitter
> > http://github.com/britter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message