Revision 54
org.gvsig.proj/tags/b3/org.gvsig.proj.app/distribution/distribution.xml | ||
---|---|---|
1 |
<!-- |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2012 gvSIG Association. |
|
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
|
8 |
modify it under the terms of the GNU General Public License |
|
9 |
as published by the Free Software Foundation; either version 2 |
|
10 |
of the License, or (at your option) any later version. |
|
11 |
|
|
12 |
This program is distributed in the hope that it will be useful, |
|
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
GNU General Public License for more details. |
|
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
|
18 |
along with this program; if not, write to the Free Software |
|
19 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
MA 02110-1301, USA. |
|
21 |
|
|
22 |
For any additional information, do not hesitate to contact us |
|
23 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
|
|
25 |
--> |
|
26 |
<assembly> |
|
27 |
</assembly> |
org.gvsig.proj/tags/b3/org.gvsig.proj.app/org.gvsig.proj.app.mainplugin/src/main/java/org/gvsig/proj/app/mainplugin/CoordinateReferenceSystemSelectUIFactory.java | ||
---|---|---|
1 |
/* gvSIG. Desktop Geographic Information System. |
|
2 |
* |
|
3 |
* Copyright ? 2007-2012 gvSIG Association |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 |
* MA 02110-1301, USA. |
|
19 |
* |
|
20 |
* For any additional information, do not hesitate to contact us |
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
22 |
*/ |
|
23 |
package org.gvsig.proj.app.mainplugin; |
|
24 |
|
|
25 |
import org.cresques.cts.IProjection; |
|
26 |
|
|
27 |
import org.gvsig.app.gui.panels.crs.ICrsUIFactory; |
|
28 |
import org.gvsig.app.gui.panels.crs.ISelectCrsPanel; |
|
29 |
|
|
30 |
|
|
31 |
/** |
|
32 |
* {@link ICrsUIFactory} implementation which returns |
|
33 |
* {@link CoordinateReferenceSystemSelectionDialog} instances. |
|
34 |
* |
|
35 |
* @author gvSIG Team |
|
36 |
*/ |
|
37 |
public class CoordinateReferenceSystemSelectUIFactory implements ICrsUIFactory { |
|
38 |
|
|
39 |
public ISelectCrsPanel getSelectCrsPanel(IProjection projection, |
|
40 |
boolean isTransPanelActive) { |
|
41 |
CoordinateReferenceSystemSelectionDialog dialog = |
|
42 |
new CoordinateReferenceSystemSelectionDialog(); |
|
43 |
dialog.setProjection(projection); |
|
44 |
return dialog; |
|
45 |
} |
|
46 |
|
|
47 |
} |
org.gvsig.proj/tags/b3/org.gvsig.proj.app/org.gvsig.proj.app.mainplugin/src/main/java/org/gvsig/proj/app/mainplugin/CoordinateReferenceSystemSelectionDialog.java | ||
---|---|---|
1 |
/* gvSIG. Desktop Geographic Information System. |
|
2 |
* |
|
3 |
* Copyright ? 2007-2012 gvSIG Association |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 |
* MA 02110-1301, USA. |
|
19 |
* |
|
20 |
* For any additional information, do not hesitate to contact us |
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
22 |
*/ |
|
23 |
package org.gvsig.proj.app.mainplugin; |
|
24 |
|
|
25 |
import java.awt.BorderLayout; |
|
26 |
import java.awt.Dimension; |
|
27 |
import java.awt.FlowLayout; |
|
28 |
|
|
29 |
import javax.swing.JButton; |
|
30 |
import javax.swing.JPanel; |
|
31 |
|
|
32 |
import org.cresques.Messages; |
|
33 |
import org.cresques.cts.IProjection; |
|
34 |
|
|
35 |
import org.gvsig.andami.PluginServices; |
|
36 |
import org.gvsig.andami.ui.mdiManager.IWindow; |
|
37 |
import org.gvsig.andami.ui.mdiManager.WindowInfo; |
|
38 |
import org.gvsig.app.gui.panels.crs.ISelectCrsPanel; |
|
39 |
import org.gvsig.proj.CoordinateReferenceSystem; |
|
40 |
import org.gvsig.proj.cts.DefaultIProjection; |
|
41 |
import org.gvsig.proj.swing.CoordinateReferenceSystemSelectorComponent; |
|
42 |
import org.gvsig.proj.swing.CoordinateReferenceSystemSwingLocator; |
|
43 |
import org.gvsig.tools.swing.api.ToolsSwingLocator; |
|
44 |
import org.gvsig.tools.swing.api.usability.UsabilitySwingManager; |
|
45 |
|
|
46 |
/** |
|
47 |
* ISelectCrsPanel implementation based on the org.gvsig.proj library. |
|
48 |
* |
|
49 |
* @author gvSIG Team |
|
50 |
*/ |
|
51 |
public class CoordinateReferenceSystemSelectionDialog extends JPanel implements |
|
52 |
IWindow, ISelectCrsPanel { |
|
53 |
|
|
54 |
private static final long serialVersionUID = 810773451033764544L; |
|
55 |
private boolean okPressed = false; |
|
56 |
private IProjection lastProjection = null; |
|
57 |
private CoordinateReferenceSystemSelectorComponent component; |
|
58 |
private JPanel panel; |
|
59 |
|
|
60 |
/** |
|
61 |
* Constructor. |
|
62 |
*/ |
|
63 |
public CoordinateReferenceSystemSelectionDialog() { |
|
64 |
super(new BorderLayout(4, 0)); |
|
65 |
|
|
66 |
add(getContentPanel(), BorderLayout.CENTER); |
|
67 |
|
|
68 |
JPanel buttonsPanel = |
|
69 |
new JPanel(new FlowLayout(FlowLayout.RIGHT, 4, 4)); |
|
70 |
add(buttonsPanel, BorderLayout.SOUTH); |
|
71 |
|
|
72 |
UsabilitySwingManager usabilitySwingManager = |
|
73 |
ToolsSwingLocator.getUsabilitySwingManager(); |
|
74 |
JButton acceptButton = |
|
75 |
usabilitySwingManager.createJButton(Messages.getText("Aceptar")); |
|
76 |
buttonsPanel.add(acceptButton); |
|
77 |
JButton cancelButton = |
|
78 |
usabilitySwingManager.createJButton(Messages.getText("Cancelar")); |
|
79 |
buttonsPanel.add(cancelButton); |
|
80 |
|
|
81 |
acceptButton.addActionListener(new java.awt.event.ActionListener() { |
|
82 |
|
|
83 |
public void actionPerformed(java.awt.event.ActionEvent e) { |
|
84 |
PluginServices.getMDIManager().closeWindow( |
|
85 |
CoordinateReferenceSystemSelectionDialog.this); |
|
86 |
okPressed = true; |
|
87 |
} |
|
88 |
}); |
|
89 |
cancelButton.addActionListener(new java.awt.event.ActionListener() { |
|
90 |
|
|
91 |
public void actionPerformed(java.awt.event.ActionEvent e) { |
|
92 |
setProjection(lastProjection); |
|
93 |
PluginServices.getMDIManager().closeWindow( |
|
94 |
CoordinateReferenceSystemSelectionDialog.this); |
|
95 |
okPressed = false; |
|
96 |
} |
|
97 |
}); |
|
98 |
} |
|
99 |
|
|
100 |
public WindowInfo getWindowInfo() { |
|
101 |
WindowInfo m_viewinfo = |
|
102 |
new WindowInfo(WindowInfo.MODALDIALOG | WindowInfo.RESIZABLE); |
|
103 |
m_viewinfo.setTitle(PluginServices.getText(this, |
|
104 |
"selecciona_sistema_de_referencia")); |
|
105 |
Dimension dim = getPreferredSize(); |
|
106 |
m_viewinfo.setWidth(dim.width); |
|
107 |
m_viewinfo.setHeight(dim.height); |
|
108 |
return m_viewinfo; |
|
109 |
} |
|
110 |
|
|
111 |
public boolean isOkPressed() { |
|
112 |
return okPressed; |
|
113 |
} |
|
114 |
|
|
115 |
/** |
|
116 |
* @return |
|
117 |
*/ |
|
118 |
public IProjection getProjection() { |
|
119 |
CoordinateReferenceSystem crs = |
|
120 |
component.getSelectedCoordinateReferenceSystem(); |
|
121 |
if (crs == null) { |
|
122 |
return lastProjection; |
|
123 |
} |
|
124 |
return new DefaultIProjection(crs); |
|
125 |
} |
|
126 |
|
|
127 |
protected JPanel getContentPanel() { |
|
128 |
if (panel == null) { |
|
129 |
panel = new JPanel(); |
|
130 |
component = |
|
131 |
CoordinateReferenceSystemSwingLocator.getSwingManager() |
|
132 |
.createCoordinateReferenceSystemSelectionComponent(); |
|
133 |
panel.add(component.asJComponent()); |
|
134 |
} |
|
135 |
|
|
136 |
return panel; |
|
137 |
} |
|
138 |
|
|
139 |
/** |
|
140 |
* @param proj |
|
141 |
*/ |
|
142 |
public void setProjection(IProjection proj) { |
|
143 |
lastProjection = proj; |
|
144 |
CoordinateReferenceSystem crs = |
|
145 |
((DefaultIProjection) proj).getCoordinateReferenceSystem(); |
|
146 |
component.setCoordinateReferenceSystem(crs); |
|
147 |
} |
|
148 |
|
|
149 |
public Object getWindowProfile() { |
|
150 |
return WindowInfo.DIALOG_PROFILE; |
|
151 |
} |
|
152 |
} |
org.gvsig.proj/tags/b3/org.gvsig.proj.app/org.gvsig.proj.app.mainplugin/src/main/java/org/gvsig/proj/app/mainplugin/CoordinateReferenceSystemExtension.java | ||
---|---|---|
1 |
/** |
|
2 |
* gvSIG. Desktop Geographic Information System. |
|
3 |
* |
|
4 |
* Copyright (C) 2007-2012 gvSIG Association. |
|
5 |
* |
|
6 |
* This program is free software; you can redistribute it and/or |
|
7 |
* modify it under the terms of the GNU General Public License |
|
8 |
* as published by the Free Software Foundation; either version 2 |
|
9 |
* of the License, or (at your option) any later version. |
|
10 |
* |
|
11 |
* This program is distributed in the hope that it will be useful, |
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
* GNU General Public License for more details. |
|
15 |
* |
|
16 |
* You should have received a copy of the GNU General Public License |
|
17 |
* along with this program; if not, write to the Free Software |
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 |
* MA 02110-1301, USA. |
|
20 |
* |
|
21 |
* For any additional information, do not hesitate to contact us |
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
*/ |
|
24 |
package org.gvsig.proj.app.mainplugin; |
|
25 |
|
|
26 |
import org.gvsig.andami.PluginServices; |
|
27 |
import org.gvsig.andami.plugins.Extension; |
|
28 |
import org.gvsig.app.ApplicationLocator; |
|
29 |
import org.gvsig.app.gui.panels.CRSSelectPanel; |
|
30 |
import org.gvsig.app.project.ProjectPreferences; |
|
31 |
import org.gvsig.fmap.crs.CRSFactory; |
|
32 |
import org.gvsig.utils.XMLEntity; |
|
33 |
|
|
34 |
/** |
|
35 |
* Extension to register the org.gvsid.proj facade implementation |
|
36 |
* of the org.gvsig.projection library. |
|
37 |
* |
|
38 |
* @author gvSIG Team |
|
39 |
* @version $Id$ |
|
40 |
*/ |
|
41 |
public class CoordinateReferenceSystemExtension extends Extension { |
|
42 |
|
|
43 |
private static final String DEFAULT_PROJECTION_KEY_NAME = |
|
44 |
"DefaultProjection"; |
|
45 |
private static final String FACTORY_DEFAULT_PROJECTION = "EPSG:23030"; |
|
46 |
|
|
47 |
public void initialize() { |
|
48 |
// CRSSelectPanel |
|
49 |
// .registerPanelClass(CoordinateReferenceSystemSelectButton.class); |
|
50 |
CRSSelectPanel |
|
51 |
.registerUIFactory(CoordinateReferenceSystemSelectUIFactory.class); |
|
52 |
// Default Projection |
|
53 |
PluginServices ps = PluginServices.getPluginServices("org.gvsig.app"); |
|
54 |
XMLEntity xml = ps.getPersistentXML(); |
|
55 |
String projCode = null; |
|
56 |
if (xml.contains(DEFAULT_PROJECTION_KEY_NAME)) { |
|
57 |
projCode = xml.getStringProperty(DEFAULT_PROJECTION_KEY_NAME); |
|
58 |
} else { |
|
59 |
projCode = FACTORY_DEFAULT_PROJECTION; |
|
60 |
} |
|
61 |
((ProjectPreferences) ApplicationLocator.getManager().getPreferences( |
|
62 |
"project")).setDefaultProjection(CRSFactory.getCRS(projCode)); |
|
63 |
} |
|
64 |
|
|
65 |
public void execute(String actionCommand) { |
|
66 |
// Nothing to do |
|
67 |
} |
|
68 |
|
|
69 |
public boolean isEnabled() { |
|
70 |
return true; |
|
71 |
} |
|
72 |
|
|
73 |
public boolean isVisible() { |
|
74 |
return false; |
|
75 |
} |
|
76 |
|
|
77 |
} |
org.gvsig.proj/tags/b3/org.gvsig.proj.app/org.gvsig.proj.app.mainplugin/src/main/java/org/gvsig/proj/app/mainplugin/package.html | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8" ?> |
|
2 |
<!-- |
|
3 |
|
|
4 |
gvSIG. Desktop Geographic Information System. |
|
5 |
|
|
6 |
Copyright (C) 2007-2012 gvSIG Association. |
|
7 |
|
|
8 |
This program is free software; you can redistribute it and/or |
|
9 |
modify it under the terms of the GNU General Public License |
|
10 |
as published by the Free Software Foundation; either version 2 |
|
11 |
of the License, or (at your option) any later version. |
|
12 |
|
|
13 |
This program is distributed in the hope that it will be useful, |
|
14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16 |
GNU General Public License for more details. |
|
17 |
|
|
18 |
You should have received a copy of the GNU General Public License |
|
19 |
along with this program; if not, write to the Free Software |
|
20 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
21 |
MA 02110-1301, USA. |
|
22 |
|
|
23 |
For any additional information, do not hesitate to contact us |
|
24 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
25 |
|
|
26 |
--> |
|
27 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
28 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
29 |
<head> |
|
30 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
|
31 |
<title>org.gvsig.proj package documentation</title> |
|
32 |
</head> |
|
33 |
<body> |
|
34 |
|
|
35 |
<p>Proj gvSIG extension</p> |
|
36 |
|
|
37 |
<p> |
|
38 |
Shows Proj into gvSIG. |
|
39 |
</p> |
|
40 |
|
|
41 |
</body> |
|
42 |
</html> |
org.gvsig.proj/tags/b3/org.gvsig.proj.app/org.gvsig.proj.app.mainplugin/src/main/resources/config.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
<!-- |
|
3 |
|
|
4 |
gvSIG. Desktop Geographic Information System. |
|
5 |
|
|
6 |
Copyright (C) 2007-2012 gvSIG Association. |
|
7 |
|
|
8 |
This program is free software; you can redistribute it and/or |
|
9 |
modify it under the terms of the GNU General Public License |
|
10 |
as published by the Free Software Foundation; either version 2 |
|
11 |
of the License, or (at your option) any later version. |
|
12 |
|
|
13 |
This program is distributed in the hope that it will be useful, |
|
14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16 |
GNU General Public License for more details. |
|
17 |
|
|
18 |
You should have received a copy of the GNU General Public License |
|
19 |
along with this program; if not, write to the Free Software |
|
20 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
21 |
MA 02110-1301, USA. |
|
22 |
|
|
23 |
For any additional information, do not hesitate to contact us |
|
24 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
25 |
|
|
26 |
--> |
|
27 |
<plugin-config> |
|
28 |
<depends plugin-name="org.gvsig.app" /> |
|
29 |
<resourceBundle name="text"/> |
|
30 |
<libraries library-dir="lib"/> |
|
31 |
<extensions> |
|
32 |
<extension class-name="org.gvsig.proj.app.mainplugin.CoordinateReferenceSystemExtension" |
|
33 |
description="" |
|
34 |
active="true" |
|
35 |
priority="1"> |
|
36 |
</extension> |
|
37 |
</extensions> |
|
38 |
</plugin-config> |
org.gvsig.proj/tags/b3/org.gvsig.proj.app/org.gvsig.proj.app.mainplugin/src/main/resources/build.number | ||
---|---|---|
1 |
#Build Number for ANT. Do not edit! |
|
2 |
#Tue Apr 28 16:00:47 CEST 2009 |
|
3 |
build.number=2005 |
org.gvsig.proj/tags/b3/org.gvsig.proj.app/org.gvsig.proj.app.mainplugin/src/test/resources/README.txt | ||
---|---|---|
1 |
==== |
|
2 |
gvSIG. Desktop Geographic Information System. |
|
3 |
|
|
4 |
Copyright (C) 2007-2012 gvSIG Association. |
|
5 |
|
|
6 |
This program is free software; you can redistribute it and/or |
|
7 |
modify it under the terms of the GNU General Public License |
|
8 |
as published by the Free Software Foundation; either version 2 |
|
9 |
of the License, or (at your option) any later version. |
|
10 |
|
|
11 |
This program is distributed in the hope that it will be useful, |
|
12 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
GNU General Public License for more details. |
|
15 |
|
|
16 |
You should have received a copy of the GNU General Public License |
|
17 |
along with this program; if not, write to the Free Software |
|
18 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 |
MA 02110-1301, USA. |
|
20 |
|
|
21 |
For any additional information, do not hesitate to contact us |
|
22 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
==== |
|
24 |
|
|
25 |
Put into this folder the resources needed by your test classes. |
|
26 |
|
|
27 |
This folder is added to the Tests classpath, so you can load any resources |
|
28 |
through the ClassLoader. |
|
29 |
|
|
30 |
By default, in this folder you can find an example of log4j configuration, |
|
31 |
prepared to log messages through the console, so logging works when you |
|
32 |
run your tests classes. |
org.gvsig.proj/tags/b3/org.gvsig.proj.app/org.gvsig.proj.app.mainplugin/src/test/resources/log4j.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1" ?> |
|
2 |
<!-- |
|
3 |
|
|
4 |
gvSIG. Desktop Geographic Information System. |
|
5 |
|
|
6 |
Copyright (C) 2007-2012 gvSIG Association. |
|
7 |
|
|
8 |
This program is free software; you can redistribute it and/or |
|
9 |
modify it under the terms of the GNU General Public License |
|
10 |
as published by the Free Software Foundation; either version 2 |
|
11 |
of the License, or (at your option) any later version. |
|
12 |
|
|
13 |
This program is distributed in the hope that it will be useful, |
|
14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16 |
GNU General Public License for more details. |
|
17 |
|
|
18 |
You should have received a copy of the GNU General Public License |
|
19 |
along with this program; if not, write to the Free Software |
|
20 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
21 |
MA 02110-1301, USA. |
|
22 |
|
|
23 |
For any additional information, do not hesitate to contact us |
|
24 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
25 |
|
|
26 |
--> |
|
27 |
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> |
|
28 |
|
|
29 |
<!-- |
|
30 |
Log4J configuration file for unit tests execution. |
|
31 |
--> |
|
32 |
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> |
|
33 |
|
|
34 |
<!-- Appender configuration to show logging messages through the console --> |
|
35 |
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> |
|
36 |
<layout class="org.apache.log4j.PatternLayout"> |
|
37 |
<param name="ConversionPattern" value="%d{HH:mm:ss,SSS} %-5p [%c{2}.%M()]\n %m%n" /> |
|
38 |
</layout> |
|
39 |
</appender> |
|
40 |
|
|
41 |
<!-- |
|
42 |
Activate logging messages of DEBUG level of higher only for the |
|
43 |
org.gvsig.tools packages. |
|
44 |
You can put full classes names or packages instead, to configure |
|
45 |
logging for all the classes and subpackages of the package. |
|
46 |
--> |
|
47 |
<category name="org.gvsig.tools"> |
|
48 |
<priority value="DEBUG" /> |
|
49 |
</category> |
|
50 |
<category name="org.gvsig.proj"> |
|
51 |
<priority value="DEBUG" /> |
|
52 |
</category> |
|
53 |
|
|
54 |
<!-- |
|
55 |
By default, show only logging messages of INFO level or higher, |
|
56 |
through the previously configured CONSOLE appender. |
|
57 |
--> |
|
58 |
<root> |
|
59 |
<priority value="INFO" /> |
|
60 |
<appender-ref ref="CONSOLE" /> |
|
61 |
</root> |
|
62 |
</log4j:configuration> |
org.gvsig.proj/tags/b3/org.gvsig.proj.app/org.gvsig.proj.app.mainplugin/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
|
4 |
<modelVersion>4.0.0</modelVersion> |
|
5 |
<artifactId>org.gvsig.proj.app.mainplugin</artifactId> |
|
6 |
<packaging>jar</packaging> |
|
7 |
<name>CRS: basic management (Proj4J based, java)</name> |
|
8 |
<description>Basic CRS management implementation based on the Proj4J java library. |
|
9 |
Provides basic management of CRS with features such as: |
|
10 |
- Allows setting the coordinate reference system (CRS), by default, in views and layers. |
|
11 |
- Allows the selection of CRS based on authority (EPSG, ESRI, WORLD, NAD83 and NAD27) and code. |
|
12 |
- Shows CRS definition based on the proj4 string. |
|
13 |
- Supports conversion of coordinates (no datum changing). |
|
14 |
- Supports transformation of coordinates (datum changing). |
|
15 |
</description> |
|
16 |
<parent> |
|
17 |
<groupId>org.gvsig</groupId> |
|
18 |
<artifactId>org.gvsig.proj.app</artifactId> |
|
19 |
<version>1.0.0-SNAPSHOT</version> |
|
20 |
</parent> |
|
21 |
<dependencies> |
|
22 |
<dependency> |
|
23 |
<groupId>org.gvsig</groupId> |
|
24 |
<artifactId>org.gvsig.andami</artifactId> |
|
25 |
<scope>compile</scope> |
|
26 |
</dependency> |
|
27 |
<dependency> |
|
28 |
<groupId>org.gvsig</groupId> |
|
29 |
<artifactId>org.gvsig.app</artifactId> |
|
30 |
<scope>compile</scope> |
|
31 |
</dependency> |
|
32 |
<dependency> |
|
33 |
<groupId>org.gvsig</groupId> |
|
34 |
<artifactId>org.gvsig.i18n</artifactId> |
|
35 |
<scope>compile</scope> |
|
36 |
</dependency> |
|
37 |
<dependency> |
|
38 |
<groupId>org.gvsig</groupId> |
|
39 |
<artifactId>org.gvsig.ui</artifactId> |
|
40 |
<scope>compile</scope> |
|
41 |
</dependency> |
|
42 |
<dependency> |
|
43 |
<groupId>org.gvsig</groupId> |
|
44 |
<artifactId>org.gvsig.utils</artifactId> |
|
45 |
<scope>compile</scope> |
|
46 |
</dependency> |
|
47 |
<dependency> |
|
48 |
<groupId>org.gvsig</groupId> |
|
49 |
<artifactId>org.gvsig.projection</artifactId> |
|
50 |
<scope>compile</scope> |
|
51 |
</dependency> |
|
52 |
<dependency> |
|
53 |
<groupId>org.gvsig</groupId> |
|
54 |
<artifactId>org.gvsig.projection</artifactId> |
|
55 |
<classifier>cresques-ui</classifier> |
|
56 |
<scope>compile</scope> |
|
57 |
</dependency> |
|
58 |
<dependency> |
|
59 |
<groupId>org.gvsig</groupId> |
|
60 |
<artifactId>org.gvsig.tools.lib</artifactId> |
|
61 |
<scope>compile</scope> |
|
62 |
</dependency> |
|
63 |
<dependency> |
|
64 |
<groupId>org.gvsig</groupId> |
|
65 |
<artifactId>org.gvsig.tools.swing.api</artifactId> |
|
66 |
<scope>compile</scope> |
|
67 |
</dependency> |
|
68 |
<dependency> |
|
69 |
<groupId>org.gvsig</groupId> |
|
70 |
<artifactId>org.gvsig.proj.lib.api</artifactId> |
|
71 |
<scope>compile</scope> |
|
72 |
</dependency> |
|
73 |
<dependency> |
|
74 |
<groupId>org.gvsig</groupId> |
|
75 |
<artifactId>org.gvsig.proj.lib.proj4j</artifactId> |
|
76 |
<scope>runtime</scope> |
|
77 |
</dependency> |
|
78 |
<dependency> |
|
79 |
<groupId>org.gvsig</groupId> |
|
80 |
<artifactId>org.gvsig.proj.swing.api</artifactId> |
|
81 |
<scope>compile</scope> |
|
82 |
</dependency> |
|
83 |
<dependency> |
|
84 |
<groupId>org.gvsig</groupId> |
|
85 |
<artifactId>org.gvsig.proj.swing.impl</artifactId> |
|
86 |
<scope>runtime</scope> |
|
87 |
</dependency> |
|
88 |
</dependencies> |
|
89 |
<properties> |
|
90 |
<package.info.dependencies>required: org.gvsig.app -ge 2.0.0</package.info.dependencies> |
|
91 |
<package.info.categories>CRS</package.info.categories> |
|
92 |
<!-- DEFAULT VALUES <package.info.owner>gvSIG Association</package.info.owner> |
|
93 |
<package.info.webURL>http://www.gvsig.com</package.info.webURL> <package.info.operatingSystem>all</package.info.operatingSystem> |
|
94 |
<package.info.architecture>all</package.info.architecture> <package.info.javaVM>j1_5</package.info.javaVM> |
|
95 |
<package.info.gvSIGVersion>2.0.0</package.info.gvSIGVersion> <package.info.baseDownloadURL>../../pool/${pom.artifactId}</package.info.baseDownloadURL> |
|
96 |
<package.info.sourcesURL>${project.scm.url}</package.info.sourcesURL> --> |
|
97 |
</properties> |
|
98 |
</project> |
org.gvsig.proj/tags/b3/org.gvsig.proj.app/org.gvsig.proj.app.mainplugin/distribution/distribution.xml | ||
---|---|---|
1 |
<!-- |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2012 gvSIG Association. |
|
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
|
8 |
modify it under the terms of the GNU General Public License |
|
9 |
as published by the Free Software Foundation; either version 2 |
|
10 |
of the License, or (at your option) any later version. |
|
11 |
|
|
12 |
This program is distributed in the hope that it will be useful, |
|
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
GNU General Public License for more details. |
|
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
|
18 |
along with this program; if not, write to the Free Software |
|
19 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
MA 02110-1301, USA. |
|
21 |
|
|
22 |
For any additional information, do not hesitate to contact us |
|
23 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
|
|
25 |
--> |
|
26 |
<assembly> |
|
27 |
<id>distribution</id> |
|
28 |
<formats> |
|
29 |
<format>dir</format> |
|
30 |
</formats> |
|
31 |
<fileSets> |
|
32 |
<!-- Estructure for the extension --> |
|
33 |
<fileSet> |
|
34 |
<directory>src/main/resources</directory> |
|
35 |
<outputDirectory>${extension.install.dir.name} |
|
36 |
</outputDirectory> |
|
37 |
</fileSet> |
|
38 |
</fileSets> |
|
39 |
<files> |
|
40 |
<file> |
|
41 |
<source>package.info</source> |
|
42 |
<outputDirectory>${extension.install.dir.name}</outputDirectory> |
|
43 |
</file> |
|
44 |
</files> |
|
45 |
<dependencySets> |
|
46 |
<dependencySet> |
|
47 |
<outputDirectory>${extension.install.dir.name}/${library-dir} |
|
48 |
</outputDirectory> |
|
49 |
<includes> |
|
50 |
<include>org.gvsig:org.gvsig.proj.app.mainplugin</include> |
|
51 |
<include>org.gvsig:org.gvsig.proj.lib.api</include> |
|
52 |
<include>org.gvsig:org.gvsig.proj.swing.api</include> |
|
53 |
<include>org.gvsig:org.gvsig.proj.lib.proj4j</include> |
|
54 |
<include>org.osgeo:proj4j</include> |
|
55 |
<include>org.gvsig:org.gvsig.proj.swing.impl</include> |
|
56 |
</includes> |
|
57 |
</dependencySet> |
|
58 |
</dependencySets> |
|
59 |
</assembly> |
org.gvsig.proj/tags/b3/org.gvsig.proj.app/org.gvsig.proj.app.mainplugin/buildNumber.properties | ||
---|---|---|
1 |
#maven.buildNumber.plugin properties file |
|
2 |
#Wed Aug 01 18:48:55 CEST 2012 |
|
3 |
buildNumber=3 |
|
0 | 4 |
org.gvsig.proj/tags/b3/org.gvsig.proj.app/buildNumber.properties | ||
---|---|---|
1 |
#maven.buildNumber.plugin properties file |
|
2 |
#Wed Aug 01 18:48:48 CEST 2012 |
|
3 |
buildNumber=3 |
org.gvsig.proj/tags/b3/org.gvsig.proj.app/prepare-workspace.xml | ||
---|---|---|
1 |
<!-- |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2012 gvSIG Association. |
|
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
|
8 |
modify it under the terms of the GNU General Public License |
|
9 |
as published by the Free Software Foundation; either version 2 |
|
10 |
of the License, or (at your option) any later version. |
|
11 |
|
|
12 |
This program is distributed in the hope that it will be useful, |
|
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
GNU General Public License for more details. |
|
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
|
18 |
along with this program; if not, write to the Free Software |
|
19 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
MA 02110-1301, USA. |
|
21 |
|
|
22 |
For any additional information, do not hesitate to contact us |
|
23 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
|
|
25 |
--> |
|
26 |
<project name="org.gvsig.initial.build" default="prepare-workspace"> |
|
27 |
|
|
28 |
<dirname property="org.gvsig.initial.build.basedir" file="${ant.file.org.gvsig.initial.build}" /> |
|
29 |
|
|
30 |
<property name="workspace.basedir" value="${org.gvsig.initial.build.basedir}/.." /> |
|
31 |
<property name="build.basedir" value="${workspace.basedir}/org.gvsig.maven.base.build" description="Eclipse workspace location" /> |
|
32 |
<property name="build.jar.version" value="1.0.8-SNAPSHOT" /> |
|
33 |
<property name="build.jar.file" value="org.gvsig.maven.base.build-${build.jar.version}.jar" /> |
|
34 |
|
|
35 |
<property name="ant.libs.dir" location="${build.basedir}" description="Additional ant tasks libs folder" /> |
|
36 |
|
|
37 |
<target name="check-maven-base-build-available"> |
|
38 |
<available file="${user.home}/.m2/repository/org/gvsig/org.gvsig.maven.base.build/${build.jar.version}/${build.jar.file}" property="maven-base-build-available" /> |
|
39 |
</target> |
|
40 |
|
|
41 |
<target name="get-maven-base-build-local" depends="check-maven-base-build-available" if="maven-base-build-available"> |
|
42 |
<!-- Unzip de build jar file from the maven repository into the workspace root folder --> |
|
43 |
<copy todir="${workspace.basedir}" preservelastmodified="false" filtering="false"> |
|
44 |
<zipfileset src="${user.home}/.m2/repository/org/gvsig/org.gvsig.maven.base.build/${build.jar.version}/${build.jar.file}"> |
|
45 |
<patternset> |
|
46 |
<exclude name="META-INF/**" /> |
|
47 |
</patternset> |
|
48 |
</zipfileset> |
|
49 |
</copy> |
|
50 |
</target> |
|
51 |
|
|
52 |
<target name="get-maven-base-build-remote" depends="check-maven-base-build-available" unless="maven-base-build-available"> |
|
53 |
<mkdir dir="target" /> |
|
54 |
|
|
55 |
<!-- Download the build jar file --> |
|
56 |
<get src="http://devel.gvsig.org/m2repo/j2se/org/gvsig/org.gvsig.maven.base.build/${build.jar.version}/${build.jar.file}" dest="target/${build.jar.file}" verbose="true" /> |
|
57 |
|
|
58 |
<!-- Unzip de build jar file into the workspace root folder --> |
|
59 |
<copy todir="${workspace.basedir}" preservelastmodified="false" filtering="false"> |
|
60 |
<zipfileset src="target/${build.jar.file}"> |
|
61 |
<patternset> |
|
62 |
<exclude name="META-INF/**" /> |
|
63 |
</patternset> |
|
64 |
</zipfileset> |
|
65 |
</copy> |
|
66 |
|
|
67 |
</target> |
|
68 |
|
|
69 |
<target name="find.depends.natives.file"> |
|
70 |
<condition property="depends.natives.file.exists"> |
|
71 |
<available file="${org.gvsig.initial.build.basedir}/DEPENDS_ON_NATIVE_LIBRARIES"/> |
|
72 |
</condition> |
|
73 |
</target> |
|
74 |
|
|
75 |
<target name="find.gvsig.platform.properties.file" |
|
76 |
depends="find.depends.natives.file" |
|
77 |
if="depends.natives.file.exists"> |
|
78 |
<condition property="gvsig.platform.exists"> |
|
79 |
<available file="${user.home}/.gvsig.platform.properties"/> |
|
80 |
</condition> |
|
81 |
</target> |
|
82 |
|
|
83 |
<target name="check.gvsig.platform.properties" |
|
84 |
depends="find.gvsig.platform.properties.file"> |
|
85 |
<fail if="depends.natives.file.exists" unless="gvsig.platform.exists"> |
|
86 |
ERROR!! |
|
87 |
|
|
88 |
You have to define your gvSIG platform properties, |
|
89 |
by creating the file: ${user.home}/.gvsig.platform.properties |
|
90 |
with the following content: |
|
91 |
|
|
92 |
native_platform=linux |
|
93 |
native_distribution=all |
|
94 |
native_compiler=gcc4 |
|
95 |
native_arch=i386 |
|
96 |
native_libraryType=dynamic |
|
97 |
export native_classifier=${native_platform}-${native_distribution}-${native_compiler}-${native_arch}-${native_libraryType} |
|
98 |
|
|
99 |
Replace the fifth initial variables values with the ones appropiate |
|
100 |
to your platform. |
|
101 |
|
|
102 |
If you use maven in the command line, you can use the previous file also |
|
103 |
to define the MAVEN_OPTS environment variable, by adding to your |
|
104 |
.bash_rc file something like this: |
|
105 |
|
|
106 |
if [ -f "${HOME}/.gvsig.platform.properties" ] |
|
107 |
then |
|
108 |
. ${HOME}/.gvsig.platform.properties |
|
109 |
export MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=64m -Dnative-classifier=${native_classifier}" |
|
110 |
else |
|
111 |
export MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=64m" |
|
112 |
fi |
|
113 |
|
|
114 |
It will work if you use the bash shell. In any other case or platform, you'll |
|
115 |
have to define your MAVEN_OPTS environment variable and set the |
|
116 |
"native-classifier" parameter directly. |
|
117 |
</fail> |
|
118 |
|
|
119 |
</target> |
|
120 |
|
|
121 |
<target name="prepare-workspace" depends="get-maven-base-build-local,get-maven-base-build-remote,check.gvsig.platform.properties"> |
|
122 |
|
|
123 |
<mkdir dir="target" /> |
|
124 |
|
|
125 |
<chmod dir="${build.basedir}/maven/bin" perm="u+x" includes="m2,mvn,mvnDebug" /> |
|
126 |
|
|
127 |
<!-- Copy the maven launchers to the workspace metadata folder --> |
|
128 |
<copy todir="${workspace.basedir}/.metadata"> |
|
129 |
<fileset dir="${build.basedir}/eclipse-launchers"> |
|
130 |
<exclude name="**/org.eclipse.jdt.core.prefs" /> |
|
131 |
<exclude name="**/org.eclipse.core.variables.prefs" /> |
|
132 |
</fileset> |
|
133 |
</copy> |
|
134 |
|
|
135 |
<concat destfile="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs" append="true"> |
|
136 |
<filelist dir="${build.basedir}/eclipse-launchers/.plugins/org.eclipse.core.runtime/.settings" files="org.eclipse.jdt.core.prefs" /> |
|
137 |
</concat> |
|
138 |
<concat destfile="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.variables.prefs" append="true"> |
|
139 |
<filelist dir="${build.basedir}/eclipse-launchers/.plugins/org.eclipse.core.runtime/.settings" files="org.eclipse.core.variables.prefs" /> |
|
140 |
</concat> |
|
141 |
|
|
142 |
<!-- Configure the eclipse workspace --> |
|
143 |
<ant antfile="${build.basedir}/maven-goals.xml" target="mvn-configure-eclipse-workspace" /> |
|
144 |
|
|
145 |
<!-- Configure the gvSIG profile --> |
|
146 |
<ant antfile="${build.basedir}/check-gvsig-profile.xml" /> |
|
147 |
|
|
148 |
<property name="user-settings-file-location" value="${user.home}/.m2/settings.xml" /> |
|
149 |
|
|
150 |
<taskdef name="xmltask" classname="com.oopsconsultancy.xmltask.ant.XmlTask"> |
|
151 |
<classpath> |
|
152 |
<pathelement location="${ant.libs.dir}/com.oopsconsultancy.xmltask-1.16.1.jar" /> |
|
153 |
</classpath> |
|
154 |
</taskdef> |
|
155 |
|
|
156 |
<xmltask source="${user-settings-file-location}" dest="${user-settings-file-location}"> |
|
157 |
<copy path="//:settings/:profiles/:profile[:id/text() = 'gvsig-install']/:properties/:gvsig.install.dir/text()" property="current-gvsig-location" /> |
|
158 |
</xmltask> |
|
159 |
|
|
160 |
<replace file="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs" token="@GVSIG_HOME@" value="${current-gvsig-location}" /> |
|
161 |
<replace file="${workspace.basedir}/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.variables.prefs" token="@GVSIG_HOME@" value="${current-gvsig-location}" /> |
|
162 |
|
|
163 |
<!-- Compile, install and generate eclipse projects --> |
|
164 |
<ant antfile="${build.basedir}/maven-goals.xml" target="mvn-install-and-eclipse-eclipse" /> |
|
165 |
|
|
166 |
<echo>INFORMATION!!!</echo> |
|
167 |
<echo>Restart eclipse and then proceed to import the subprojects contained into the main project</echo> |
|
168 |
|
|
169 |
<!-- TODO: copiar al proyecto de configuraciรณn general --> |
|
170 |
</target> |
|
171 |
|
|
172 |
<target name="clean"> |
|
173 |
<delete dir="target" /> |
|
174 |
</target> |
|
175 |
|
|
176 |
</project> |
org.gvsig.proj/tags/b3/org.gvsig.proj.app/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
|
|
3 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
4 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
5 |
<modelVersion>4.0.0</modelVersion> |
|
6 |
<artifactId>org.gvsig.proj.app</artifactId> |
|
7 |
<packaging>pom</packaging> |
|
8 |
<version>1.0.0-SNAPSHOT</version> |
|
9 |
<name>Coordinate reference system management 100% java</name> |
|
10 |
<description>Coordinate reference system management plugin without native dependencies. |
|
11 |
Provides also an implementation for the org.gvsig.projection library API, |
|
12 |
and it is an alternative for the default basic projection support. |
|
13 |
</description> |
|
14 |
<parent> |
|
15 |
<groupId>org.gvsig</groupId> |
|
16 |
<artifactId>org.gvsig.maven.base.extension.pom</artifactId> |
|
17 |
<version>1.0.8-SNAPSHOT</version> |
|
18 |
</parent> |
|
19 |
<url>http://devel.gvsig.org/sites/org.gvsig.proj.app/${project.version}</url> |
|
20 |
<scm> |
|
21 |
<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-jcrs/org.gvsig.proj/trunk/org.gvsig.proj.app</connection> |
|
22 |
<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-jcrs/org.gvsig.proj/trunk/org.gvsig.proj.app</developerConnection> |
|
23 |
<url>https://devel.gvsig.org/redmine/projects/gvsig-jcrs/repository/show/org.gvsig.proj/trunk/org.gvsig.proj.app</url> |
|
24 |
</scm> |
|
25 |
<developers> |
|
26 |
<developer> |
|
27 |
<id>jjdelcerro</id> |
|
28 |
<name>Joaqu?n Jos? del Cerro</name> |
|
29 |
<email>jjdelcerro@gvsig.com</email> |
|
30 |
<roles> |
|
31 |
<role>Architect</role> |
|
32 |
<role>Developer</role> |
|
33 |
</roles> |
|
34 |
</developer> |
|
35 |
<developer> |
|
36 |
<id>cordinayana</id> |
|
37 |
<name>C?sar Ordi?ana</name> |
|
38 |
<email>cordinyana@gvsig.com</email> |
|
39 |
<roles> |
|
40 |
<role>Architect</role> |
|
41 |
<role>Developer</role> |
|
42 |
</roles> |
|
43 |
</developer> |
|
44 |
</developers> |
|
45 |
<distributionManagement> |
|
46 |
<site> |
|
47 |
<id>gvsig-repository</id> |
|
48 |
<url>dav:https://devel.gvsig.org/sites/org.gvsig.proj.app/${project.version}</url> |
|
49 |
</site> |
|
50 |
</distributionManagement> |
|
51 |
<repositories> |
|
52 |
<repository> |
|
53 |
<id>gvsig-public-http-repository</id> |
|
54 |
<name>gvSIG maven public HTTP repository</name> |
|
55 |
<url>http://devel.gvsig.org/m2repo/j2se</url> |
|
56 |
<releases> |
|
57 |
<enabled>true</enabled> |
|
58 |
<updatePolicy>daily</updatePolicy> |
|
59 |
<checksumPolicy>warn</checksumPolicy> |
|
60 |
</releases> |
|
61 |
<snapshots> |
|
62 |
<enabled>true</enabled> |
|
63 |
<updatePolicy>daily</updatePolicy> |
|
64 |
<checksumPolicy>warn</checksumPolicy> |
|
65 |
</snapshots> |
|
66 |
</repository> |
|
67 |
</repositories> |
|
68 |
<build> |
|
69 |
<plugins> |
|
70 |
<plugin> |
|
71 |
<groupId>org.apache.maven.plugins</groupId> |
|
72 |
<artifactId>maven-release-plugin</artifactId> |
|
73 |
<configuration> |
|
74 |
<tagBase>https://devel.gvsig.org/svn/gvsig-jcrs/org.gvsig.proj/tags</tagBase> |
|
75 |
</configuration> |
|
76 |
</plugin> |
|
77 |
</plugins> |
|
78 |
</build> |
|
79 |
<dependencyManagement> |
|
80 |
<dependencies> |
|
81 |
<dependency> |
|
82 |
<groupId>org.gvsig</groupId> |
|
83 |
<artifactId>org.gvsig.core.maven.dependencies</artifactId> |
|
84 |
<version>2.0.1-SNAPSHOT</version> |
|
85 |
<type>pom</type> |
|
86 |
<scope>import</scope> |
|
87 |
</dependency> |
|
88 |
<dependency> |
|
89 |
<groupId>org.gvsig</groupId> |
|
90 |
<artifactId>org.gvsig.app</artifactId> |
|
91 |
<version>2.0-SNAPSHOT</version> |
|
92 |
<scope>compile</scope> |
|
93 |
</dependency> |
|
94 |
<dependency> |
|
95 |
<groupId>org.gvsig</groupId> |
|
96 |
<artifactId>org.gvsig.proj.lib.api</artifactId> |
|
97 |
<version>1.0.0-SNAPSHOT</version> |
|
98 |
<scope>runtime</scope> |
|
99 |
</dependency> |
|
100 |
<dependency> |
|
101 |
<groupId>org.gvsig</groupId> |
|
102 |
<artifactId>org.gvsig.proj.lib.proj4j</artifactId> |
|
103 |
<version>1.0.0-SNAPSHOT</version> |
|
104 |
<scope>runtime</scope> |
|
105 |
</dependency> |
|
106 |
<dependency> |
|
107 |
<groupId>org.gvsig</groupId> |
|
108 |
<artifactId>org.gvsig.proj.swing.api</artifactId> |
|
109 |
<version>1.0.0-SNAPSHOT</version> |
|
110 |
</dependency> |
|
111 |
<dependency> |
|
112 |
<groupId>org.gvsig</groupId> |
|
113 |
<artifactId>org.gvsig.proj.swing.impl</artifactId> |
|
114 |
<version>1.0.0-SNAPSHOT</version> |
|
115 |
<scope>runtime</scope> |
|
116 |
</dependency> |
|
117 |
</dependencies> |
|
118 |
</dependencyManagement> |
|
119 |
|
|
120 |
<properties> |
|
121 |
<package.info.baseDownloadURL>http://devel.gvsig.org/download/projects/gvsig-jcrs/pool/${pom.artifactId}</package.info.baseDownloadURL> |
|
122 |
<package.info.state>devel</package.info.state> |
|
123 |
<package.info.official>true</package.info.official> |
|
124 |
</properties> |
|
125 |
|
|
126 |
<modules> |
|
127 |
<module>org.gvsig.proj.app.mainplugin</module> |
|
128 |
</modules> |
|
129 |
|
|
130 |
</project> |
org.gvsig.proj/tags/b3/org.gvsig.proj.app/README.txt | ||
---|---|---|
1 |
==== |
|
2 |
gvSIG. Desktop Geographic Information System. |
|
3 |
|
|
4 |
Copyright (C) 2007-2012 gvSIG Association. |
|
5 |
|
|
6 |
This program is free software; you can redistribute it and/or |
|
7 |
modify it under the terms of the GNU General Public License |
|
8 |
as published by the Free Software Foundation; either version 2 |
|
9 |
of the License, or (at your option) any later version. |
|
10 |
|
|
11 |
This program is distributed in the hope that it will be useful, |
|
12 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
GNU General Public License for more details. |
|
15 |
|
|
16 |
You should have received a copy of the GNU General Public License |
|
17 |
along with this program; if not, write to the Free Software |
|
18 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 |
MA 02110-1301, USA. |
|
20 |
|
|
21 |
For any additional information, do not hesitate to contact us |
|
22 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
==== |
|
24 |
|
|
25 |
The first time you checkout the current project to a new workspace, |
|
26 |
you have to prepare it to be able to work easily with maven from |
|
27 |
eclipse itself. |
|
28 |
|
|
29 |
Perform the following steps: |
|
30 |
|
|
31 |
1.- Launch the *prepare-workspace.xml* ant build file. |
|
32 |
You can do it by loading the file into the ant view, |
|
33 |
and running the default task, or right-clicking the |
|
34 |
file from the package explorer or the navigator and |
|
35 |
select the option: *Run as > Ant build*. |
|
36 |
|
|
37 |
2.- Restart eclipse. |
|
38 |
|
|
39 |
3.- Import the subprojects of the project you have just checked out. |
|
40 |
|
|
41 |
Those steps are only needed once per workspace. |
|
42 |
|
|
0 | 43 |
org.gvsig.proj/tags/b3/org.gvsig.proj/org.gvsig.proj.main/src/main/resources/README.txt | ||
---|---|---|
1 |
==== |
|
2 |
gvSIG. Desktop Geographic Information System. |
|
3 |
|
|
4 |
Copyright (C) 2007-2012 gvSIG Association. |
|
5 |
|
|
6 |
This program is free software; you can redistribute it and/or |
|
7 |
modify it under the terms of the GNU General Public License |
|
8 |
as published by the Free Software Foundation; either version 2 |
|
9 |
of the License, or (at your option) any later version. |
|
10 |
|
|
11 |
This program is distributed in the hope that it will be useful, |
|
12 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
GNU General Public License for more details. |
|
15 |
|
|
16 |
You should have received a copy of the GNU General Public License |
|
17 |
along with this program; if not, write to the Free Software |
|
18 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 |
MA 02110-1301, USA. |
|
20 |
|
|
21 |
For any additional information, do not hesitate to contact us |
|
22 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
==== |
|
24 |
|
|
25 |
Put into this folder the resources needed by your classes. |
|
26 |
|
|
27 |
This folder is added to the classpath, so you can load any resources |
|
28 |
through the ClassLoader. |
|
29 |
|
|
30 |
By default, in this folder you can find an example of log4j configuration, |
|
31 |
prepared to log messages through the console, so logging works when you |
|
32 |
run your classes. |
org.gvsig.proj/tags/b3/org.gvsig.proj/org.gvsig.proj.main/src/main/resources/log4j.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1" ?> |
|
2 |
<!-- |
|
3 |
|
|
4 |
gvSIG. Desktop Geographic Information System. |
|
5 |
|
|
6 |
Copyright (C) 2007-2012 gvSIG Association. |
|
7 |
|
|
8 |
This program is free software; you can redistribute it and/or |
|
9 |
modify it under the terms of the GNU General Public License |
|
10 |
as published by the Free Software Foundation; either version 2 |
|
11 |
of the License, or (at your option) any later version. |
|
12 |
|
|
13 |
This program is distributed in the hope that it will be useful, |
|
14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16 |
GNU General Public License for more details. |
|
17 |
|
|
18 |
You should have received a copy of the GNU General Public License |
|
19 |
along with this program; if not, write to the Free Software |
|
20 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
21 |
MA 02110-1301, USA. |
|
22 |
|
|
23 |
For any additional information, do not hesitate to contact us |
|
24 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
25 |
|
|
26 |
--> |
|
27 |
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> |
|
28 |
|
|
29 |
<!-- |
|
30 |
Log4J configuration file for unit tests execution. |
|
31 |
--> |
|
32 |
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> |
|
33 |
|
|
34 |
<!-- Appender configuration to show logging messages through the console --> |
|
35 |
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> |
|
36 |
<layout class="org.apache.log4j.PatternLayout"> |
|
37 |
<param name="ConversionPattern" value="%d{HH:mm:ss,SSS} %-5p [%c{2}.%M()]\n %m%n" /> |
|
38 |
</layout> |
|
39 |
</appender> |
|
40 |
|
|
41 |
<!-- |
|
42 |
Activate logging messages of DEBUG level of higher only for the |
|
43 |
org.gvsig.tools packages. |
|
44 |
You can put full classes names or packages instead, to configure |
|
45 |
logging for all the classes and subpackages of the package. |
|
46 |
--> |
|
47 |
<category name="org.gvsig.tools"> |
|
48 |
<priority value="DEBUG" /> |
|
49 |
</category> |
|
50 |
<category name="org.gvsig.proj"> |
|
51 |
<priority value="DEBUG" /> |
|
52 |
</category> |
|
53 |
|
|
54 |
<!-- |
|
55 |
By default, show only logging messages of INFO level or higher, |
|
56 |
through the previously configured CONSOLE appender. |
|
57 |
--> |
|
58 |
<root> |
|
59 |
<priority value="INFO" /> |
|
60 |
<appender-ref ref="CONSOLE" /> |
|
61 |
</root> |
|
62 |
</log4j:configuration> |
org.gvsig.proj/tags/b3/org.gvsig.proj/org.gvsig.proj.main/src/main/java/org/gvsig/proj/main/package.html | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8" ?> |
|
2 |
<!-- |
|
3 |
|
|
4 |
gvSIG. Desktop Geographic Information System. |
|
5 |
|
|
6 |
Copyright (C) 2007-2012 gvSIG Association. |
|
7 |
|
|
8 |
This program is free software; you can redistribute it and/or |
|
9 |
modify it under the terms of the GNU General Public License |
|
10 |
as published by the Free Software Foundation; either version 2 |
|
11 |
of the License, or (at your option) any later version. |
|
12 |
|
|
13 |
This program is distributed in the hope that it will be useful, |
|
14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16 |
GNU General Public License for more details. |
|
17 |
|
|
18 |
You should have received a copy of the GNU General Public License |
|
19 |
along with this program; if not, write to the Free Software |
|
20 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
21 |
MA 02110-1301, USA. |
|
22 |
|
|
23 |
For any additional information, do not hesitate to contact us |
|
24 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
25 |
|
|
26 |
--> |
|
27 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
28 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
29 |
<head> |
|
30 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
|
31 |
<title>org.gvsig.proj package documentation</title> |
|
32 |
</head> |
|
33 |
<body> |
|
34 |
|
|
35 |
<p>Proj library testing and demo application.</p> |
|
36 |
|
|
37 |
</body> |
|
38 |
</html> |
org.gvsig.proj/tags/b3/org.gvsig.proj/org.gvsig.proj.main/src/main/java/org/gvsig/proj/main/Main.java | ||
---|---|---|
1 |
/** |
|
2 |
* gvSIG. Desktop Geographic Information System. |
|
3 |
* |
|
4 |
* Copyright (C) 2007-2012 gvSIG Association. |
|
5 |
* |
|
6 |
* This program is free software; you can redistribute it and/or |
|
7 |
* modify it under the terms of the GNU General Public License |
|
8 |
* as published by the Free Software Foundation; either version 2 |
|
9 |
* of the License, or (at your option) any later version. |
|
10 |
* |
|
11 |
* This program is distributed in the hope that it will be useful, |
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
* GNU General Public License for more details. |
|
15 |
* |
|
16 |
* You should have received a copy of the GNU General Public License |
|
17 |
* along with this program; if not, write to the Free Software |
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 |
* MA 02110-1301, USA. |
|
20 |
* |
|
21 |
* For any additional information, do not hesitate to contact us |
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
*/ |
|
24 |
package org.gvsig.proj.main; |
|
25 |
|
|
26 |
import java.awt.BorderLayout; |
|
27 |
import java.awt.Dimension; |
|
28 |
import java.awt.event.ActionEvent; |
|
29 |
|
|
30 |
import javax.swing.AbstractAction; |
|
31 |
import javax.swing.Action; |
|
32 |
import javax.swing.JButton; |
|
33 |
import javax.swing.JFrame; |
|
34 |
import javax.swing.JMenu; |
|
35 |
import javax.swing.JMenuBar; |
|
36 |
import javax.swing.JMenuItem; |
|
37 |
import javax.swing.JToolBar; |
|
38 |
import javax.swing.WindowConstants; |
|
39 |
|
|
40 |
import org.slf4j.Logger; |
|
41 |
import org.slf4j.LoggerFactory; |
|
42 |
|
|
43 |
import org.gvsig.proj.CoordinateReferenceSystem; |
|
44 |
import org.gvsig.proj.CoordinateReferenceSystemLocator; |
|
45 |
import org.gvsig.proj.CoordinateReferenceSystemManager; |
|
46 |
import org.gvsig.proj.CoordinateReferenceSystemNotFoundException; |
|
47 |
import org.gvsig.proj.swing.CoordinateReferenceSystemSelectorComponent; |
|
48 |
import org.gvsig.proj.swing.CoordinateReferenceSystemSwingLocator; |
|
49 |
import org.gvsig.proj.swing.CoordinateReferenceSystemSwingManager; |
|
50 |
import org.gvsig.tools.library.impl.DefaultLibrariesInitializer; |
|
51 |
import org.gvsig.tools.swing.api.windowmanager.WindowManager; |
|
52 |
|
|
53 |
/** |
|
54 |
* Main executable class for testing the CRS library. |
|
55 |
* |
|
56 |
* @author gvSIG Team |
|
57 |
* @version $Id$ |
|
58 |
*/ |
|
59 |
public class Main { |
|
60 |
|
|
61 |
private static final Logger LOG = LoggerFactory.getLogger(Main.class); |
|
62 |
|
|
63 |
private CoordinateReferenceSystemManager manager; |
|
64 |
private CoordinateReferenceSystemSwingManager swingManager; |
|
65 |
|
|
66 |
public static void main(String args[]) { |
|
67 |
new DefaultLibrariesInitializer().fullInitialize(); |
|
68 |
Main main = new Main(); |
|
69 |
main.show(); |
|
70 |
} |
|
71 |
|
|
72 |
@SuppressWarnings("serial") |
|
73 |
public void show() { |
|
74 |
manager = CoordinateReferenceSystemLocator.getManager(); |
|
75 |
swingManager = CoordinateReferenceSystemSwingLocator.getSwingManager(); |
|
76 |
|
|
77 |
Action showCRSSelector = new AbstractAction("Select a CRS") { |
|
78 |
|
|
79 |
public void actionPerformed(ActionEvent e) { |
|
80 |
showCRSSelector(manager); |
|
81 |
} |
|
82 |
}; |
|
83 |
|
|
84 |
Action exit = new AbstractAction("Exit") { |
|
85 |
|
|
86 |
public void actionPerformed(ActionEvent e) { |
|
87 |
System.exit(0); |
|
88 |
} |
|
89 |
}; |
|
90 |
|
|
91 |
JFrame frame = new JFrame("CRS example app"); |
|
92 |
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); |
|
93 |
|
|
94 |
// Create the menu bar. |
|
95 |
JMenuBar menuBar = new JMenuBar(); |
|
96 |
|
|
97 |
// Build the menu. |
|
98 |
JMenu menuFile = new JMenu("File"); |
|
99 |
menuFile.add(new JMenuItem(showCRSSelector)); |
|
100 |
menuFile.add(new JMenuItem(exit)); |
|
101 |
|
|
102 |
menuBar.add(menuFile); |
|
103 |
|
|
104 |
JToolBar toolBar = new JToolBar(); |
|
105 |
toolBar.add(new JButton(showCRSSelector)); |
|
106 |
toolBar.add(new JButton(exit)); |
|
107 |
|
|
108 |
frame.setPreferredSize(new Dimension(200, 100)); |
|
109 |
frame.setJMenuBar(menuBar); |
|
110 |
frame.add(toolBar, BorderLayout.PAGE_START); |
|
111 |
|
|
112 |
// Display the window. |
|
113 |
frame.pack(); |
|
114 |
frame.setVisible(true); |
|
115 |
} |
|
116 |
|
|
117 |
public void showCRSSelector(CoordinateReferenceSystemManager manager) { |
|
118 |
|
|
119 |
CoordinateReferenceSystemSelectorComponent crsSelectionComponent = |
|
120 |
swingManager.createCoordinateReferenceSystemSelectionComponent(); |
|
121 |
|
|
122 |
try { |
|
123 |
CoordinateReferenceSystem currentCRS = |
|
124 |
manager.getCoordinateReferenceSystem("EPSG", "23030"); |
|
125 |
crsSelectionComponent.setCoordinateReferenceSystem(currentCRS); |
|
126 |
} catch (CoordinateReferenceSystemNotFoundException e) { |
|
127 |
LOG.error("Error getting crs EPSG:23030", e); |
|
128 |
} |
|
129 |
|
|
130 |
swingManager.getWindowManager().showWindow( |
|
131 |
crsSelectionComponent.asJComponent(), "Proj", |
|
132 |
WindowManager.MODE.WINDOW); |
|
133 |
} |
|
134 |
|
|
135 |
} |
org.gvsig.proj/tags/b3/org.gvsig.proj/org.gvsig.proj.main/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
|
4 |
<modelVersion>4.0.0</modelVersion> |
|
5 |
<artifactId>org.gvsig.proj.main</artifactId> |
|
6 |
<packaging>jar</packaging> |
|
7 |
<name>org.gvsig.proj.main</name> |
|
8 |
<parent> |
|
9 |
<groupId>org.gvsig</groupId> |
|
10 |
<artifactId>org.gvsig.proj</artifactId> |
|
11 |
<version>1.0.0-SNAPSHOT</version> |
|
12 |
</parent> |
|
13 |
<dependencies> |
|
14 |
<dependency> |
|
15 |
<groupId>org.gvsig</groupId> |
|
16 |
<artifactId>org.gvsig.core.maven.dependencies</artifactId> |
|
17 |
<version>2.0.1-SNAPSHOT</version> |
|
18 |
<type>pom</type> |
|
19 |
<scope>test</scope> |
|
20 |
</dependency> |
|
21 |
<dependency> |
|
22 |
<groupId>org.gvsig</groupId> |
|
23 |
<artifactId>org.gvsig.tools.lib</artifactId> |
|
24 |
<scope>compile</scope> |
|
25 |
</dependency> |
|
26 |
<dependency> |
|
27 |
<groupId>org.gvsig</groupId> |
|
28 |
<artifactId>org.gvsig.tools.lib</artifactId> |
|
29 |
<type>test-jar</type> |
|
30 |
<scope>test</scope> |
|
31 |
</dependency> |
|
32 |
<dependency> |
|
33 |
<groupId>org.gvsig</groupId> |
|
34 |
<artifactId>org.gvsig.tools.swing.api</artifactId> |
|
35 |
<scope>compile</scope> |
|
36 |
</dependency> |
|
37 |
<dependency> |
|
38 |
<groupId>org.gvsig</groupId> |
|
39 |
<artifactId>org.gvsig.i18n</artifactId> |
|
40 |
<scope>compile</scope> |
|
41 |
</dependency> |
|
42 |
<dependency> |
|
43 |
<groupId>org.gvsig</groupId> |
|
44 |
<artifactId>org.gvsig.fmap.geometry</artifactId> |
|
45 |
<scope>compile</scope> |
|
46 |
</dependency> |
|
47 |
<dependency> |
|
48 |
<groupId>org.gvsig</groupId> |
|
49 |
<artifactId>org.gvsig.fmap.dal</artifactId> |
|
50 |
<scope>compile</scope> |
|
51 |
</dependency> |
|
52 |
<dependency> |
|
53 |
<groupId>org.gvsig</groupId> |
|
54 |
<artifactId>org.gvsig.metadata.lib.basic.api</artifactId> |
|
55 |
<scope>compile</scope> |
|
56 |
</dependency> |
|
57 |
<dependency> |
|
58 |
<groupId>org.gvsig</groupId> |
|
59 |
<artifactId>org.gvsig.proj.lib.api</artifactId> |
|
60 |
<version>1.0.0-SNAPSHOT</version> |
|
61 |
</dependency> |
|
62 |
<dependency> |
|
63 |
<groupId>org.gvsig</groupId> |
|
64 |
<artifactId>org.gvsig.proj.lib.proj4j</artifactId> |
|
65 |
<version>1.0.0-SNAPSHOT</version> |
|
66 |
<scope>runtime</scope> |
|
67 |
</dependency> |
|
68 |
<dependency> |
|
69 |
<groupId>org.gvsig</groupId> |
|
70 |
<artifactId>org.gvsig.proj.swing.api</artifactId> |
|
71 |
<version>1.0.0-SNAPSHOT</version> |
|
72 |
</dependency> |
|
73 |
<dependency> |
|
74 |
<groupId>org.gvsig</groupId> |
|
75 |
<artifactId>org.gvsig.proj.swing.impl</artifactId> |
|
76 |
<version>1.0.0-SNAPSHOT</version> |
|
77 |
<scope>runtime</scope> |
|
78 |
</dependency> |
|
79 |
</dependencies> |
|
80 |
</project> |
|
0 | 81 |
org.gvsig.proj/tags/b3/org.gvsig.proj/org.gvsig.proj.lib/org.gvsig.proj.lib.proj4j/src/main/java/org/gvsig/proj/proj4j/package.html | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8" ?> |
|
2 |
<!-- |
|
3 |
|
|
4 |
gvSIG. Desktop Geographic Information System. |
|
5 |
|
|
6 |
Copyright (C) 2007-2012 gvSIG Association. |
|
7 |
|
|
8 |
This program is free software; you can redistribute it and/or |
|
9 |
modify it under the terms of the GNU General Public License |
|
10 |
as published by the Free Software Foundation; either version 2 |
|
11 |
of the License, or (at your option) any later version. |
|
12 |
|
|
13 |
This program is distributed in the hope that it will be useful, |
|
14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
Also available in: Unified diff