mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-26 18:30:52 +01:00
you can now build g-earth
This commit is contained in:
parent
750fff662f
commit
2b3d266e32
3
.gitignore
vendored
3
.gitignore
vendored
@ -7,6 +7,9 @@ out/
|
|||||||
bin/
|
bin/
|
||||||
**/target/
|
**/target/
|
||||||
|
|
||||||
|
# our self-made build folder
|
||||||
|
Build/
|
||||||
|
|
||||||
# vsCode
|
# vsCode
|
||||||
Extensions/BlockReplacePackets/.classpath
|
Extensions/BlockReplacePackets/.classpath
|
||||||
.project
|
.project
|
||||||
|
@ -77,6 +77,28 @@
|
|||||||
<appendAssemblyId>false</appendAssemblyId>
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<!-- global build folder -->
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<version>3.0.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>package</phase>
|
||||||
|
<configuration>
|
||||||
|
<target name="copy to extensions folder">
|
||||||
|
<copy file="target/bin/AdminOnConnect.jar" todir="../../Build/Linux/extensions"/>
|
||||||
|
<copy file="target/bin/AdminOnConnect.jar" todir="../../Build/Mac/extensions"/>
|
||||||
|
<copy file="target/bin/AdminOnConnect.jar" todir="../../Build/Windows_64bit/extensions"/>
|
||||||
|
<copy file="target/bin/AdminOnConnect.jar" todir="../../Build/Windows_64bit/extensions"/>
|
||||||
|
</target>
|
||||||
|
</configuration>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
@ -76,6 +76,29 @@
|
|||||||
<appendAssemblyId>false</appendAssemblyId>
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<!-- global build folder -->
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<version>3.0.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>package</phase>
|
||||||
|
<configuration>
|
||||||
|
<target name="copy to extensions folder">
|
||||||
|
<copy file="target/bin/BlockReplacePackets.jar" todir="../../Build/Linux/extensions"/>
|
||||||
|
<copy file="target/bin/BlockReplacePackets.jar" todir="../../Build/Mac/extensions"/>
|
||||||
|
<copy file="target/bin/BlockReplacePackets.jar" todir="../../Build/Windows_64bit/extensions"/>
|
||||||
|
<copy file="target/bin/BlockReplacePackets.jar" todir="../../Build/Windows_64bit/extensions"/>
|
||||||
|
</target>
|
||||||
|
</configuration>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
@ -69,6 +69,57 @@
|
|||||||
<appendAssemblyId>false</appendAssemblyId>
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- global build folder -->
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<version>3.0.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>copy_files</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<configuration>
|
||||||
|
<target name="copy G-Earth.jar to Build folder">
|
||||||
|
<copy file="target/bin/G-Earth.jar" todir="../Build/Mac/"/>
|
||||||
|
<copy file="target/bin/G-Earth.jar" todir="../Build/Linux/"/>
|
||||||
|
<copy file="target/bin/G-Earth.jar" todir="../Build/Windows_32bit/"/>
|
||||||
|
<copy file="target/bin/G-Earth.jar" todir="../Build/Windows_64bit/"/>
|
||||||
|
|
||||||
|
<copy todir="../Build/Mac/">
|
||||||
|
<fileset dir="src/main/resources/build/mac" includes="**/*" />
|
||||||
|
</copy>
|
||||||
|
<copy todir="../Build/Linux/">
|
||||||
|
<fileset dir="src/main/resources/build/linux" includes="**/*" />
|
||||||
|
</copy>
|
||||||
|
<copy todir="../Build/Windows_32bit/">
|
||||||
|
<fileset dir="src/main/resources/build/windows/32bit" includes="**/*" />
|
||||||
|
</copy>
|
||||||
|
<copy todir="../Build/Windows_64bit/">
|
||||||
|
<fileset dir="src/main/resources/build/windows/64bit" includes="**/*" />
|
||||||
|
</copy>
|
||||||
|
</target>
|
||||||
|
</configuration>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>clean_files</id>
|
||||||
|
<phase>clean</phase>
|
||||||
|
<configuration>
|
||||||
|
<target name="clean our own build folder">
|
||||||
|
<delete dir="../Build"
|
||||||
|
includeemptydirs="true"/>
|
||||||
|
</target>
|
||||||
|
</configuration>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user