Skip to content

Commit ee5c893

Browse files
committed
5.0.0.0 : added ikvm command in the maven build and changing current version directly in the pom.xml
1 parent 034bd29 commit ee5c893

File tree

6 files changed

+39
-22
lines changed

6 files changed

+39
-22
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ output
44
pubs
55
listingfile.txt
66
*.iml
7+
/ikvmbin
8+
/ikvm

build.number

Lines changed: 0 additions & 2 deletions
This file was deleted.

build/build.txt

Lines changed: 0 additions & 15 deletions
This file was deleted.

how_to_build.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
1. Download [ikvm.exe](https://netcologne.dl.sourceforge.net/project/ikvm/ikvm/7.2.4630.5/ikvmbin-7.2.4630.5.zip) and put it in a folder `ikvmbin` on the root of the repo (add it to ignore list)
2+
2. Build the project : `mvn clean package`
3+
3. the .dll is generated in the output dir

pom.xml

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@
44

55
<groupId>proparse</groupId>
66
<artifactId>proparse</artifactId>
7-
<version>1.0</version>
7+
<version>5.0.0.0</version>
88

99
<name>Proparse</name>
10-
<url>https://github.com/ccleaud/proparse</url>
11-
10+
<url>https://github.com/jcaillon/proparse</url>
1211

1312
<properties>
13+
<ikvm>ikvm\bin</ikvm>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
<maven.compiler.source>1.7</maven.compiler.source>
16-
<maven.compiler.target>1.7</maven.compiler.target>
1715
</properties>
1816

1917
<dependencies>
@@ -133,6 +131,37 @@
133131
</configuration>
134132
</plugin>
135133

134+
135+
<plugin>
136+
<artifactId>maven-antrun-plugin</artifactId>
137+
<version>1.8</version>
138+
<executions>
139+
<execution>
140+
<phase>package</phase>
141+
<configuration>
142+
<target>
143+
<!--
144+
Place any Ant task here. You can add anything
145+
you can add between <target> and </target> in a
146+
build.xml.
147+
-->
148+
<exec executable="${ikvm}\ikvmc.exe">
149+
<arg value="-out:${project.build.directory}\proparse.net.dll"/>
150+
<arg value="-version:${project.version}"/>
151+
<arg value="-keyfile:proparse.net.snk"/>
152+
<arg value="-nowarn:0108"/>
153+
<arg value="${project.build.directory}\${project.artifactId}-${project.version}.jar"/>
154+
<arg value="${project.build.directory}\lib\*"/>
155+
</exec>
156+
</target>
157+
</configuration>
158+
<goals>
159+
<goal>run</goal>
160+
</goals>
161+
</execution>
162+
</executions>
163+
</plugin>
164+
136165
</plugins>
137166
</build>
138167

File renamed without changes.

0 commit comments

Comments
 (0)