Modify

Opened 10 years ago

Closed 10 years ago

#11787 closed defect (fixed)

[Patch] Rasterfilters and path separators

Reported by: simon04 Owned by: Nipel-Crumple
Priority: normal Milestone:
Component: Plugin rasterfilters Version:
Keywords: Cc:

Description

In Java, please use / as path separator. This correctly maps to \ under Windows. When using \ in the source code however, this creates files containing \ in the name under Linux, e.g., .josm/plugins/rasterfilters\JOSM-filters.jar. Alternatively you can use the constructor File(File, String) to obtain a file in a parent directory:

Btw: I reverted your modification to build-commons.xml, see [o31508] for details.

Attachments (1)

rasterfilters.path.patch (2.6 KB ) - added by simon04 10 years ago.

Download all attachments as: .zip

Change History (4)

by simon04, 10 years ago

Attachment: rasterfilters.path.patch added

comment:1 by simon04, 10 years ago

Owner: changed from niplecrumple to Nipel-Crumple

in reply to:  1 ; comment:2 by Nipel-Crumple, 10 years ago

Replying to simon04:
Thanks a lot for your find. All separators were replaced according to your patch. Hope this solved the problem. And sorry for changing build-common.xml. Unforunately it didn't work at my laptop because the directory 'core' didn't exist.

in reply to:  2 comment:3 by simon04, 10 years ago

Resolution: fixed
Status: newclosed

Feel free to close the issue after applying: [o31509], [o31510].

Unforunately it didn't work at my laptop because the directory 'core' didn't exist.

SVN should update externals automatically. When using git-svn or alike, one has to do some manual work …

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Nipel-Crumple.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.