Revision 40551
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/pom.xml | ||
---|---|---|
181 | 181 |
<files> |
182 | 182 |
<!-- Define gvsig.product.folder.path in this property --> |
183 | 183 |
<file>${user.home}/.gvsig-devel.properties</file> |
184 |
<file>${env.HOME}/.gvsig-devel.properties</file> |
|
184 | 185 |
<file>${project.basedir}/gvsig-devel.properties</file> |
185 | 186 |
<file>buildNumber.properties</file> |
186 | 187 |
</files> |
trunk/org.gvsig.desktop/pom.xml | ||
---|---|---|
1488 | 1488 |
<files> |
1489 | 1489 |
<!-- Define gvsig.product.folder.path in this property --> |
1490 | 1490 |
<file>${user.home}/.gvsig-devel.properties</file> |
1491 |
<file>${env.HOME}/.gvsig-devel.properties</file> |
|
1491 | 1492 |
<file>${project.basedir}/gvsig-devel.properties</file> |
1492 | 1493 |
</files> |
1493 | 1494 |
<quiet>true</quiet> |
... | ... | |
1523 | 1524 |
</goals> |
1524 | 1525 |
<configuration> |
1525 | 1526 |
<source><![CDATA[ |
1527 |
home = System.getenv('HOME') |
|
1528 |
if( home == null ) { |
|
1529 |
home = System.properties['user.home'] |
|
1530 |
} |
|
1526 | 1531 |
Properties props = new Properties() |
1527 |
File propsFile = new File(System.properties['user.home'] + "/.gvsig-devel.properties")
|
|
1532 |
File propsFile = new File(home + "/.gvsig-devel.properties")
|
|
1528 | 1533 |
gvsigProductFolderPathDefault = project.properties["gvsig.product.folder.path"] |
1529 | 1534 |
// println "Default gvsig.product.folder.path = " + gvsigProductFolderPathDefault |
1530 | 1535 |
try { |
Also available in: Unified diff