cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Bierce <david.bie...@appcore.com>
Subject Re: Shell commands vs Native Java file handling
Date Tue, 02 Sep 2014 18:11:40 GMT
Me too, but I’m new to this code base and to Java so I didn’t know if there was a rational
behind it or not.  :)

There were a few places in SSVM where it is handling symlinks, for which support wasn’t
added till Java 7 (according to the Docs), that was the only reason I could think of.

Thanks,
David Bierce
On Sep 2, 2014, at 12:06 PM, Mike Tutkowski <mike.tutkowski@solidfire.com> wrote:

> If we could keep code like that all in Java, that would be my personal
> preference.
> 
> 
> On Tue, Sep 2, 2014 at 10:42 AM, David Bierce <david.bierce@appcore.com>
> wrote:
> 
>> While investigating an issue with secondary storage templates, I noticed
>> all the file handling I came across shelled and execute things like mkdir,
>> rm, etc, etc.  With the migration to Java 7 is there still a reason to
>> continue that method of file handling or in the future could/should file
>> operations be handled by Java?
>> 
>> 
>> Thanks,
>> David Bierce
>> 
>> 
>> 
> 
> 
> -- 
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud
> <http://solidfire.com/solution/overview/?video=play>*™*


Mime
View raw message