Michael,

Can we just change the code for jump.io.ShapefileWriter to always
include the extension?

I can make this change in the SVN if you think it is the best
solution. It makes sense to me.

The Sunburned Surveyor

On Fri, Dec 31, 2010 at 4:14 PM, Sunburned Surveyor
<sunburned.surve...@gmail.com> wrote:
> Michael,
>
> I'm not sure what the answer to your questions are. Perhaps this has
> to do with the file IO framework that was added by Paul Austin?
>
> Any thoughts on what we need to change to make this behavior in OJ consistent?
>
> The Sunburned Surveyor
>
> 2010/12/18 Michaël Michaud <michael.mich...@free.fr>:
>> Hi all,
>>
>> A few questions about OpenJUMP IO
>>
>> 1)
>> - Most of time, if I save a dataset as a shapefile, openjump will append
>> .shp extension if I forget to include it in file name.
>> - sometime, it will refuse to save and will ask to add the extension.
>> Yesterday, I noticed the same thing happens on a driver I wrote axecpt
>> this time, the plugin through an exception if I forget the extension.
>>
>> In jump.io.ShapefileWriter, I can see why I'm asked to add the
>> extension, but I can't find where OJ add the extension by itself (what
>> it does most of time).
>> If someone has a good knowledge of this part of the code, I would be
>> interested to know what part of the code are involved in those different
>> behaviours.
>>
>> 2)
>> - I found that LoadSaveDatasetFileMixin is not used in the code.
>> It comes from Jonathan Aquino who wrote an interesting article about
>> mixins
>> (http://jonaquino.blogspot.com/2005/07/java-mixin-pattern-or-faking-multiple.html),
>> but if the class is not used at all, i propose it is removed in a future
>> version.
>>
>> ------------------------------------------------------------------------------
>> Lotusphere 2011
>> Register now for Lotusphere 2011 and learn how
>> to connect the dots, take your collaborative environment
>> to the next level, and enter the era of Social Business.
>> http://p.sf.net/sfu/lotusphere-d2d
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to