gvSIG bugs #309
prepare-workspace.xml has errors in windows
Status: | Closed | % Done: | 0% | |
---|---|---|---|---|
Priority: | Normal | Spent time: | - | |
Assignee: | Juan Lucas Domínguez | |||
Category: | - | |||
Target version: | - | |||
Severity: | Add-on version: | |||
gvSIG version: | 2.0.0 | Add-on build: | ||
gvSIG build: | Add-on resolve version: | |||
Operative System: | Windows | Add-on resolve build: | ||
Keywords: | Proyecto: | |||
Has patch: | No | Hito: | ||
Add-on name: | Unknown |
Description
The prepare-workspace.xml ant script we use to initialize the workspace of gvSIG projects has an error in windows. It asks for the gvSIG and workspace locations, and writes it in some eclipse launchers and configuration files.
If the user uses the \ separator tipical in windows, then when interpreted those \ characters dissappear. Ex:
C:\MyPath\gvSIG --> C:MyPathgvSIG
The template file for the prepare-workspace.xml script is located into the org.gvsig.maven.base project. When corrected, it must be manually updated in all the projects which use it.
Associated revisions
Add a generic way to get the CRS selection panel (previously could only be created from UI) and use it from View preference page. Fixes: #309
Merged changesets 28831 and 28832. Fixes #309 for v2.0
Merged changesets 28831 and 28832. Fixes #309 for v2.0
History
#1 Updated by Manuel Madrid about 12 years ago
- Assignee set to Juan Lucas Domínguez
#2 Updated by Juan Lucas Domínguez about 12 years ago
- File prepare.png added
I don't know if I understood it well. I have tested the template XML file and it seems to work (see attached image)
[echo] ======================== Copying extension files to extensions dir...
[copy] Copying 28 files to C:\Program Files\gvsig_2_2045
[INFO] Executed tasks
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
#3 Updated by Juan Lucas Domínguez about 12 years ago
(I have tested it on Windows 7)
#4 Updated by Cesar Ordiñana about 12 years ago
The problem takes place in the eclipse configuration files. For example, there are two variables created into the eclipse workspace that point to the gvSIG installation:
Preferences > Java > Build Path > Classpath Variables > GVSIG_HOME
Preferences > Run/Debug > String Substitution > GVSIG_HOME
Those variables are used by the gvSIG launcher created in the prepare workspace process.
#5 Updated by Juan Lucas Domínguez about 12 years ago
Yes, I have that problem too. I'll see how to fix it
#6 Updated by Juan Lucas Domínguez about 12 years ago
- Status changed from New to Fixed
Fixed by replacing \ with / (valid also in Windows). This issue has been fixed in:
org.gvsig.maven.base.build (gvsig-tools)
And the templates:
org.gvsig.fortunecookies
org.gvsig.landregistryviewer
org.gvsig.landregistryviewer.app
#7 Updated by Álvaro Anguix about 10 years ago
- Status changed from Fixed to Closed