Skip to content

Commit

Permalink
updated for v1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Mar 4, 2021
1 parent 755e21d commit f203c51
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
SHELL ?= /bin/bash

#JAR_VERSION := $(shell mvn -q -Dexec.executable="echo" -Dexec.args='$${project.version}' --non-recursive exec:exec -DforceStdout)
JAR_VERSION := 1.4
JAR_VERSION := 1.5
JAR_FILE := stepmod2mn-$(JAR_VERSION).jar

SRCDIR := src/test/resources
Expand Down
20 changes: 10 additions & 10 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,45 +17,45 @@ convert specified xml file into adoc format and save it to data/resource_docs/dr

[source,sh]
----
java -jar target/stepmod2mn-1.4.jar <XML-FileName>
java -jar target/stepmod2mn-1.5.jar <XML-FileName>
----

or save it to specified path:

[source,sh]
----
java -jar target/stepmod2mn-1.4.jar <XML-FileName> --output <ADOC-FileName>
java -jar target/stepmod2mn-1.5.jar <XML-FileName> --output <ADOC-FileName>
----

generate SVG images in the tree data/:

[source,sh]
----
java -jar target/stepmod2mn-1.4.jar <start folder to process xml maps files> --svg
java -jar target/stepmod2mn-1.5.jar <start folder to process xml maps files> --svg
----

generate SVG image for Express Imagemap XML and Image:

[source,sh]
----
java -jar stepmod2mn-1.4.jar --xml <Express Imagemap XML file path> --image <Image file name> [--svg <resulted SVG map file or folder>]
java -jar stepmod2mn-1.5.jar --xml <Express Imagemap XML file path> --image <Image file name> [--svg <resulted SVG map file or folder>]
----

e.g.

[source,sh]
----
java -jar target/stepmod2mn-1.4.jar data/resource_docs/draughting_elements/resource.xml
java -jar target/stepmod2mn-1.5.jar data/resource_docs/draughting_elements/resource.xml
----

[source,sh]
----
java -jar target/stepmod2mn-1.4.jar data/ --svg
java -jar target/stepmod2mn-1.5.jar data/ --svg
----

[source,sh]
----
java -jar stepmod2mn-1.4.jar --xml data\resource_docs\fundamentals_of_product_description_and_support\schema_diagexpg1.xml --image schema_diagexpg1.gif --svg schema_diagexpg1.svg
java -jar stepmod2mn-1.5.jar --xml data\resource_docs\fundamentals_of_product_description_and_support\schema_diagexpg1.xml --image schema_diagexpg1.gif --svg schema_diagexpg1.svg
----


Expand All @@ -75,7 +75,7 @@ Update version in `pom.xml`, e.g.:
----
<groupId>com.metanorma</groupId>
<artifactId>stepmod2mn</artifactId>
<version>1.4</version>
<version>1.5</version>
<name>STEPmod XML to Metanorma AsciiDoc converter</name>
----

Expand All @@ -86,8 +86,8 @@ Tag the same version in Git:

[source,xml]
----
git tag v1.4
git push origin v1.4
git tag v1.5
git push origin v1.5
----

Then the corresponding GitHub release will be automatically created at:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.metanorma</groupId>
<artifactId>stepmod2mn</artifactId>
<version>1.4</version>
<version>1.5</version>
<name>STEPmod XML to Metanorma AsciiDoc converter</name>
<packaging>jar</packaging>
<url>https://www.metanorma.com</url>
Expand Down

0 comments on commit f203c51

Please sign in to comment.