Revision 623

View differences:

org.gvsig.report/tags/org.gvsig.report.jss-1.0.0/pom.xml
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2
    <modelVersion>4.0.0</modelVersion>
3
    <parent>
4
        <groupId>org.gvsig</groupId>
5
        <artifactId>org.gvsig.desktop</artifactId>
6
        <version>2.0.228</version>
7
    </parent>
8
    <artifactId>org.gvsig.report.jss</artifactId>
9
    <version>1.0.0</version>
10
    <packaging>pom</packaging>
11
    <name>${project.artifactId}</name>
12

  
13
    <url>https://redmine.gvsig.net/redmine/projects/gvsig-projects-pool</url>
14

  
15
    <repositories>
16
        <repository>
17
            <id>gvsig-public-http-repository</id>
18
            <name>gvSIG maven public HTTP repository</name>
19
            <url>http://devel.gvsig.org/m2repo/j2se</url>
20
            <releases>
21
                <enabled>true</enabled>
22
                <updatePolicy>daily</updatePolicy>
23
                <checksumPolicy>warn</checksumPolicy>
24
            </releases>
25
            <snapshots>
26
                <enabled>true</enabled>
27
                <updatePolicy>daily</updatePolicy>
28
                <checksumPolicy>warn</checksumPolicy>
29
            </snapshots>
30
        </repository>
31
    </repositories>
32
    <distributionManagement>
33
        <site>
34
            <id>gvsig-repository</id>
35
            <url>dav:https://devel.gvsig.org/download/projects/gvsig-report/pool/${project.artifactId}/${project.version}</url>
36
        </site>
37
    </distributionManagement>
38
    <scm>
39
                 <connection>scm:svn:https://devel.gvsig.org/svn/gvsig-projects-pool/org.gvsig.report/tags/org.gvsig.report.jss-1.0.0</connection>
40
        <developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-projects-pool/org.gvsig.report/tags/org.gvsig.report.jss-1.0.0</developerConnection>
41
        <url>https://redmine.gvsig.net/redmine/projects/gvsig-projects-pool/repository/show/org.gvsig.report/tags/org.gvsig.report.jss-1.0.0</url>
42
    </scm>
43

  
44
    <build>
45
        <plugins>
46
            <plugin>
47
                <groupId>org.apache.maven.plugins</groupId>
48
                <artifactId>maven-release-plugin</artifactId>
49
                <configuration>
50
                    <tagBase>https://devel.gvsig.org/svn/gvsig-projects-pool/org.gvsig.report/tags</tagBase>
51
                    <goal>deploy</goal>
52
                </configuration>
53
            </plugin>
54
        </plugins>
55
    </build>
56

  
57

  
58
    <dependencyManagement>
59
        <dependencies>
60
            <dependency>
61
                <groupId>org.gvsig</groupId>
62
                <artifactId>org.gvsig.report.jss.app.mainplugin.common</artifactId>
63
                <version>1.0.0</version>
64
                <type>zip</type>
65
            </dependency>
66
            <dependency>
67
                <groupId>org.gvsig</groupId>
68
                <artifactId>org.gvsig.report.jss.app.mainplugin.common</artifactId>
69
                <version>1.0.0</version>
70
                <type>jar</type>
71
            </dependency>
72

  
73
        </dependencies>
74
    </dependencyManagement>
75

  
76
    <modules>
77
        <module>${project.artifactId}.app</module>
78
    </modules>
79

  
80
</project>
org.gvsig.report/tags/org.gvsig.report.jss-1.0.0/org.gvsig.report.jss.app/org.gvsig.report.jss.app.mainplugin.common/buildNumber.properties
1
#Wed Oct 07 08:24:31 CEST 2015
2
buildNumber=1
org.gvsig.report/tags/org.gvsig.report.jss-1.0.0/org.gvsig.report.jss.app/org.gvsig.report.jss.app.mainplugin.common/src/main/resources-plugin/i18n/text.properties
1
#Translations for language [es]
2
#Thu Nov 20 10:10:09 CET 2014
3
_Reports=Informes
4
_Launch_JasperSoft_Studio=Ejecutar JasperSoft Studio
5
_JasperSoft_studio_is_already_running=JasperSoft studio ya esta en ejecuci\u00f3n
6

  
7

  
org.gvsig.report/tags/org.gvsig.report.jss-1.0.0/org.gvsig.report.jss.app/org.gvsig.report.jss.app.mainplugin.common/src/main/resources-plugin/i18n/text_en.properties
1
#Translations for language [en]
2
#Thu Nov 20 10:10:15 CET 2014
3
_Reports=Reports
4
_Launch_JasperSoft_Studio=Launch JasperSoft Studio
5
_JasperSoft_studio_is_already_running=JasperSoft studio is already running
org.gvsig.report/tags/org.gvsig.report.jss-1.0.0/org.gvsig.report.jss.app/org.gvsig.report.jss.app.mainplugin.common/src/main/resources-plugin/config.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<!-- gvSIG. Desktop Geographic Information System. Copyright (C) 2007-2014 gvSIG
3
  Association. This program is free software; you can redistribute it and/or modify
4
  it under the terms of the GNU General Public License as published by the Free Software
5
  Foundation; either version 3 of the License, or (at your option) any later version.
6
  This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
7
  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8
  PURPOSE. See the GNU General Public License for more details. You should have received
9
  a copy of the GNU General Public License along with this program; if not, write to
10
  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
11
  USA. For any additional information, do not hesitate to contact us at info AT gvsig.com,
12
  or visit our website www.gvsig.com. -->
13
<plugin-config>
14
  <depends plugin-name="org.gvsig.app.mainplugin" />
15
  <resourceBundle name="text" />
16
  <libraries library-dir="lib" />
17
  <extensions>
18

  
19

  
20
    <extension class-name="org.gvsig.report.app.jss.JSSExtension"
21
      description="" active="true" priority="1">
22
            <action 
23
                name="report-launch-jss"
24
                label="_Launch_JasperSoft_Studio" 
25
                position="903000100"  
26
                tooltip="_Launch_JasperSoft_Studio" 
27
                action-command="report-launch-jss"
28
                icon="report-launch-jss"
29
                accelerator=""
30
            />
31

  
32
            <menu text="tools/_Reports/_Launch_JasperSoft_Studio" 
33
                              name="report-launch-jss"/>
34
				
35
            <tool-bar name="reports" position="2000">
36
                <action-tool name="report-launch-jss"/>				
37
            </tool-bar>                    
38
            
39
    </extension>
40

  
41

  
42
  </extensions>
43
</plugin-config>
org.gvsig.report/tags/org.gvsig.report.jss-1.0.0/org.gvsig.report.jss.app/org.gvsig.report.jss.app.mainplugin.common/src/main/assembly/gvsig-plugin-package.xml
1
<!--
2

  
3
    gvSIG. Desktop Geographic Information System.
4

  
5
    Copyright (C) 2007-2013 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 3
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>gvsig-plugin-package</id>
28
  <formats>
29
    <format>zip</format>
30
  </formats>
31
  <baseDirectory>${project.artifactId}</baseDirectory>
32
  <includeBaseDirectory>true</includeBaseDirectory>
33
  <files>
34
    <file>
35
      <source>target/${project.artifactId}-${project.version}.jar</source>
36
      <outputDirectory>lib</outputDirectory>
37
    </file>
38
    <file>
39
      <source>target/package.info</source>
40
    </file>
41
  </files>
42

  
43
  <fileSets>
44
    <fileSet>
45
      <directory>src/main/resources-plugin</directory>
46
      <outputDirectory>.</outputDirectory>
47
    </fileSet>
48
  </fileSets>
49
</assembly>
50

  
org.gvsig.report/tags/org.gvsig.report.jss-1.0.0/org.gvsig.report.jss.app/org.gvsig.report.jss.app.mainplugin.common/src/main/java/org/gvsig/report/app/jss/JSSExtension.java
1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 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 3
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.report.app.jss;
25

  
26
import java.io.File;
27
import javax.swing.JOptionPane;
28
import org.apache.commons.lang3.StringUtils;
29
import org.codehaus.plexus.util.FileUtils;
30
import org.gvsig.andami.IconThemeHelper;
31
import org.gvsig.andami.PluginServices;
32
import org.gvsig.andami.PluginsLocator;
33
import org.gvsig.andami.PluginsManager;
34
import org.gvsig.andami.plugins.Extension;
35
import org.gvsig.andami.ui.mdiFrame.MainFrame;
36
import org.gvsig.tools.ToolsLocator;
37
import org.gvsig.tools.i18n.I18nManager;
38

  
39
/**
40
 *
41
 * @author jjdelcerro
42
 */
43
public class JSSExtension extends Extension {
44
    @Override
45
    public void initialize() {
46
        IconThemeHelper.registerIcon("report", "report-launch-jss", this);
47
    }
48

  
49
    @Override
50
    public void postInitialize() {
51
        PluginsManager pluginManager = PluginsLocator.getManager();
52
        PluginServices thePlugin = pluginManager.getPlugin(this);
53
        try {
54
            File f = new File(thePlugin.getPluginHomeFolder(),"jss");
55
            if( !f.exists() ) {
56
                FileUtils.mkdir(f.getAbsolutePath());
57
            }
58
        } catch(Exception ex) {
59
            logger.warn("Can't create folder 'jss' in home of plugin.",ex);
60
        }
61
    } 
62
    
63
    @Override
64
    public void execute(String action) {
65
        
66
        if( StringUtils.equalsIgnoreCase(action, "report-launch-jss") ) {
67
            MainFrame dialogs = PluginsLocator.getMainFrame();
68
            I18nManager i18n = ToolsLocator.getI18nManager();
69
            
70
            ThreadGroup group = Thread.currentThread().getThreadGroup();
71
            Thread[] threads = new Thread[group.activeCount()+10];
72
            group.enumerate(threads);
73
            for (Thread thread : threads) {
74
                if( thread!=null && StringUtils.equals("StartJSS", thread.getName())) {
75
                    dialogs.messageDialog(
76
                            i18n.getTranslation("_JasperSoft_studio_is_already_running"), 
77
                            i18n.getTranslation("_Warning"), 
78
                            JOptionPane.INFORMATION_MESSAGE
79
                    );
80
                    return;
81
                }
82
            }
83
            
84
            PluginsManager pluginManager = PluginsLocator.getManager();
85
            PluginServices thePlugin = pluginManager.getPlugin(this);
86
            
87
            final File execFile = new File(thePlugin.getPluginDirectory(), "jss/Jaspersoft Studio");
88
            final File workingFolder = new File(thePlugin.getPluginHomeFolder(),"jss");
89

  
90
            Thread th = new Thread(new Runnable() {
91
                @Override
92
                public void run() {
93
                    ProcessBuilder builder = new ProcessBuilder();
94
                    builder.command(execFile.getAbsolutePath());
95
                    builder.directory(workingFolder);
96
                    logger.info("Start JasperSoft Studio ("+execFile+", working folder "+workingFolder+").");
97
                    try {
98
                        Process process = builder.start();
99
                        process.waitFor();
100
                    } catch (Exception ex) {
101
                        logger.warn("Can't start jss ("+execFile+").",ex);
102
                    }
103
                }
104
            }, "StartJSS");
105
            th.start();          
106
        }
107
    }
108
    
109
    @Override
110
    public boolean isEnabled() {
111
        return true;
112
    }
113

  
114
    @Override
115
    public boolean isVisible() {
116
        return true;
117
    }
118

  
119
}
org.gvsig.report/tags/org.gvsig.report.jss-1.0.0/org.gvsig.report.jss.app/org.gvsig.report.jss.app.mainplugin.common/pom.xml
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2
    <modelVersion>4.0.0</modelVersion>
3
    <parent>
4
        <groupId>org.gvsig</groupId>
5
        <artifactId>org.gvsig.report.jss.app</artifactId>
6
        <version>1.0.0</version>
7
    </parent>
8
    <artifactId>org.gvsig.report.jss.app.mainplugin.common</artifactId>
9
    <name>${project.artifactId}</name>
10
    
11
    
12
  <properties>
13
    <!-- Control the deploy of the plugin in gvsig.product.folder.path/gvSIG/extensiones -->
14
    <gvsig.install.plugin>false</gvsig.install.plugin>
15
    <!--  Control the deploy of the plugin package in gvsig.product.folder.path/install -->
16
    <gvsig.install.plugin.package>false</gvsig.install.plugin.package>
17
      
18
    <gvsig.package.info.state>devel</gvsig.package.info.state>
19
    <gvsig.package.info.code>org.gvsig.report.jss.app.mainplugin</gvsig.package.info.code>
20
    <gvsig.package.info.official>true</gvsig.package.info.official>
21
    <gvsig.package.info.dependencies>required: org.gvsig.app -ge 2.4.0</gvsig.package.info.dependencies>
22
    <gvsig.package.info.categories />
23
    <gvsig.package.info.name>Reports, JasperSoft Studio</gvsig.package.info.name>
24
    <gvsig.package.info.description>Tools: Reports, JasperSoft Studio</gvsig.package.info.description>
25
    <gvsig.package.info.owner>gvSIG Association</gvsig.package.info.owner>
26
    <gvsig.package.info.javaVM>j1_8</gvsig.package.info.javaVM>
27
    <gvsig.package.info.sourcesURL>${project.scm.url}</gvsig.package.info.sourcesURL>
28
    <gvsig.package.info.poolURL>https://devel.gvsig.org/download/projects/gvsig-report/pool</gvsig.package.info.poolURL>
29

  
30
  </properties>
31

  
32
  <dependencies>
33
    <dependency>
34
        <groupId>org.gvsig</groupId>
35
        <artifactId>org.gvsig.andami</artifactId>
36
        <scope>compile</scope>
37
    </dependency>
38

  
39
  </dependencies>
40

  
41

  
42
</project>
org.gvsig.report/tags/org.gvsig.report.jss-1.0.0/org.gvsig.report.jss.app/pom.xml
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2
  <modelVersion>4.0.0</modelVersion>
3
  <parent>
4
    <groupId>org.gvsig</groupId>
5
    <artifactId>org.gvsig.report.jss</artifactId>
6
    <version>1.0.0</version>
7
  </parent>
8
  <artifactId>org.gvsig.report.jss.app</artifactId>
9
  <packaging>pom</packaging>
10
  <name>${project.artifactId}</name>
11
  
12
    
13
  <properties>
14

  
15
    <gvsig.package.info.state>devel</gvsig.package.info.state>
16
    <gvsig.package.info.code>org.gvsig.report.jss.app.mainplugin</gvsig.package.info.code>
17
    <gvsig.package.info.official>true</gvsig.package.info.official>
18
    <gvsig.package.info.dependencies>required: org.gvsig.app -ge 2.4.0</gvsig.package.info.dependencies>
19
    <gvsig.package.info.categories />
20
    <gvsig.package.info.name>Reports, JasperSoft Studio</gvsig.package.info.name>
21
    <gvsig.package.info.description>Tools: Reports, JasperSoft Studio</gvsig.package.info.description>
22
    <gvsig.package.info.owner>gvSIG Association</gvsig.package.info.owner>
23
    <gvsig.package.info.javaVM>j1_8</gvsig.package.info.javaVM>
24
    <gvsig.package.info.sourcesURL>${project.scm.url}</gvsig.package.info.sourcesURL>
25
    <gvsig.package.info.poolURL>https://devel.gvsig.org/download/projects/gvsig-report/pool</gvsig.package.info.poolURL>
26

  
27
  </properties>
28

  
29
  
30
  <modules>
31
  	<module>${project.artifactId}.mainplugin.common</module>
32
  	<module>${project.artifactId}.mainplugin.lin.x86_64</module>
33
  </modules>
34
</project>
org.gvsig.report/tags/org.gvsig.report.jss-1.0.0/org.gvsig.report.jss.app/org.gvsig.report.jss.app.mainplugin.lin.x86_64/buildNumber.properties
1
#Wed Oct 07 08:24:31 CEST 2015
2
buildNumber=1
org.gvsig.report/tags/org.gvsig.report.jss-1.0.0/org.gvsig.report.jss.app/org.gvsig.report.jss.app.mainplugin.lin.x86_64/src/main/resources-plugin/install/install.xml
1
<project name="org.gvsig.report.app.jss" default="main" basedir=".">
2
  <target name="main">
3
<!--
4
    <chmod file="${extensions_dir}/org.gvsig.report.jss.app.mainplugin/jss/Jaspersoft Studio" perm="a+rx"/>
5
    <chmod file="${extensions_dir}/org.gvsig.report.jss.app.mainplugin/jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/ControlPanel" perm="a+rx"/>
6
    <chmod file="${extensions_dir}/org.gvsig.report.jss.app.mainplugin/jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/java" perm="a+rx"/>
7
    <chmod file="${extensions_dir}/org.gvsig.report.jss.app.mainplugin/jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/javaws" perm="a+rx"/>
8
    <chmod file="${extensions_dir}/org.gvsig.report.jss.app.mainplugin/jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/jcontrol" perm="a+rx"/>
9
    <chmod file="${extensions_dir}/org.gvsig.report.jss.app.mainplugin/jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/jjs" perm="a+rx"/>
10
    <chmod file="${extensions_dir}/org.gvsig.report.jss.app.mainplugin/jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/keytool" perm="a+rx"/>
11
    <chmod file="${extensions_dir}/org.gvsig.report.jss.app.mainplugin/jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/orbd" perm="a+rx"/>
12
    <chmod file="${extensions_dir}/org.gvsig.report.jss.app.mainplugin/jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/pack200" perm="a+rx"/>
13
    <chmod file="${extensions_dir}/org.gvsig.report.jss.app.mainplugin/jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/policytool" perm="a+rx"/>
14
    <chmod file="${extensions_dir}/org.gvsig.report.jss.app.mainplugin/jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/rmid" perm="a+rx"/>
15
    <chmod file="${extensions_dir}/org.gvsig.report.jss.app.mainplugin/jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/rmiregistry" perm="a+rx"/>
16
    <chmod file="${extensions_dir}/org.gvsig.report.jss.app.mainplugin/jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/servertool" perm="a+rx"/>
17
    <chmod file="${extensions_dir}/org.gvsig.report.jss.app.mainplugin/jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/tnameserv" perm="a+rx"/>
18
    <chmod file="${extensions_dir}/org.gvsig.report.jss.app.mainplugin/jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/unpack200" perm="a+rx"/>
19
    -->
20
    <chmod file="${basedir}/../jss/Jaspersoft Studio" perm="a+rx"/>
21
    <chmod file="${basedir}/../jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/ControlPanel" perm="a+rx"/>
22
    <chmod file="${basedir}/../jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/java" perm="a+rx"/>
23
    <chmod file="${basedir}/../jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/javaws" perm="a+rx"/>
24
    <chmod file="${basedir}/../jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/jcontrol" perm="a+rx"/>
25
    <chmod file="${basedir}/../jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/jjs" perm="a+rx"/>
26
    <chmod file="${basedir}/../jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/keytool" perm="a+rx"/>
27
    <chmod file="${basedir}/../jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/orbd" perm="a+rx"/>
28
    <chmod file="${basedir}/../jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/pack200" perm="a+rx"/>
29
    <chmod file="${basedir}/../jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/policytool" perm="a+rx"/>
30
    <chmod file="${basedir}/../jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/rmid" perm="a+rx"/>
31
    <chmod file="${basedir}/../jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/rmiregistry" perm="a+rx"/>
32
    <chmod file="${basedir}/../jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/servertool" perm="a+rx"/>
33
    <chmod file="${basedir}/../jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/tnameserv" perm="a+rx"/>
34
    <chmod file="${basedir}/../jss/features/jre.linux.gtk.x86_64.feature_1.8.0.u144/jre/bin/unpack200" perm="a+rx"/>
35
    
36
  </target>
37
</project>
38

  
39
                          
org.gvsig.report/tags/org.gvsig.report.jss-1.0.0/org.gvsig.report.jss.app/org.gvsig.report.jss.app.mainplugin.lin.x86_64/src/main/assembly/gvsig-plugin-package.xml
1
<!--
2

  
3
    gvSIG. Desktop Geographic Information System.
4

  
5
    Copyright (C) 2007-2013 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 3
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>gvsig-plugin-package</id>
28
    <formats>
29
        <format>zip</format>
30
    </formats>
31
    <baseDirectory>${gvsig.package.info.code}</baseDirectory>
32
    <includeBaseDirectory>true</includeBaseDirectory>
33
    <files>
34
        <file>
35
            <source>target/package.info</source>
36
        </file>
37
    </files>
38

  
39
    <fileSets>
40
        <fileSet>
41
            <directory>target/org.gvsig.report.jss.app.mainplugin.common</directory>
42
            <outputDirectory>.</outputDirectory>
43
            <excludes>
44
                <exclude>package.info</exclude>
45
            </excludes>
46
        </fileSet>
47
        <fileSet>
48
            <directory>target/native/jss</directory>
49
            <outputDirectory>./jss</outputDirectory>
50
      </fileSet>
51
        <fileSet>
52
            <directory>src/main/resources-plugin</directory>
53
            <outputDirectory>.</outputDirectory>
54
        </fileSet>
55
    </fileSets>
56

  
57
</assembly>
58

  
org.gvsig.report/tags/org.gvsig.report.jss-1.0.0/org.gvsig.report.jss.app/org.gvsig.report.jss.app.mainplugin.lin.x86_64/pom.xml
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2
    <modelVersion>4.0.0</modelVersion>
3
    <parent>
4
        <groupId>org.gvsig</groupId>
5
        <artifactId>org.gvsig.report.jss.app</artifactId>
6
        <version>1.0.0</version>
7
    </parent>
8
    <artifactId>org.gvsig.report.jss.app.mainplugin.lin.x86_64</artifactId>
9
    <name>${project.artifactId}</name>
10
    
11
    
12
  <properties>
13
    <gvsig.package.info.operatingSystem>lin</gvsig.package.info.operatingSystem>
14
    <gvsig.package.info.architecture>x86_64</gvsig.package.info.architecture>
15

  
16
    <jss.version>6.5.1_1.5_1</jss.version>
17

  
18
  </properties>
19

  
20
  <dependencyManagement>
21
    <dependencies>
22
    <dependency>
23
      <groupId>org.gvsig</groupId>
24
      <artifactId>org.gvsig.report.jss.app.mainplugin.common</artifactId>
25
      <version>1.0.0</version>
26
      <type>zip</type>
27
    </dependency>        
28
      <dependency>
29
        <groupId>org.gvsig</groupId>
30
        <artifactId>jss_webservices</artifactId>
31
        <version>${jss.version}</version>
32
        <classifier>${gvsig.package.info.operatingSystem}.${gvsig.package.info.architecture}</classifier>
33
        <scope>runtime</scope>
34
        <type>tar.gz</type>
35
      </dependency>
36
    </dependencies>
37
  </dependencyManagement>
38

  
39

  
40
  <dependencies>
41
    
42
    <dependency>
43
      <groupId>org.gvsig</groupId>
44
      <artifactId>jss_webservices</artifactId>
45
      <classifier>${gvsig.package.info.operatingSystem}.${gvsig.package.info.architecture}</classifier>
46
      <scope>runtime</scope>
47
      <type>tar.gz</type>
48
    </dependency>
49

  
50
  </dependencies>
51

  
52
  <build>
53
    <plugins>
54

  
55
      <plugin>
56
        <groupId>org.apache.maven.plugins</groupId>
57
        <artifactId>maven-dependency-plugin</artifactId>
58
        <executions>
59
          <execution>
60
            <id>unpack</id>
61
            <phase>process-sources</phase>
62
            <goals>
63
              <goal>unpack</goal>
64
            </goals>
65
            <configuration>
66
              <artifactItems>
67
                <artifactItem>
68
                  <groupId>org.gvsig</groupId>
69
                  <artifactId>org.gvsig.report.jss.app.mainplugin.common</artifactId>
70
                  <type>zip</type>
71
                  <overWrite>true</overWrite>
72
                  <outputDirectory>target</outputDirectory>
73
                </artifactItem>
74
                <artifactItem>
75
                  <groupId>org.gvsig</groupId>
76
                  <artifactId>jss_webservices</artifactId>
77
                  <version>${jss.version}</version>
78
                  <classifier>${gvsig.package.info.operatingSystem}.${gvsig.package.info.architecture}</classifier>
79
                  <type>tar.gz</type>
80
                  <overWrite>true</overWrite>
81
                  <outputDirectory>target/native/jss</outputDirectory>
82
                </artifactItem>
83
              </artifactItems>
84
            </configuration>
85
          </execution>
86
        </executions>
87
      </plugin>
88

  
89
    </plugins>
90
  </build>
91
    
92
</project>

Also available in: Unified diff