Skip to content

Commit

Permalink
Readme and script adjustments
Browse files Browse the repository at this point in the history
Revamp distribution README
Remove Sample Scripts
  • Loading branch information
r41d committed May 22, 2015
1 parent eaa3c72 commit 8ca553e
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 146 deletions.
14 changes: 0 additions & 14 deletions distribution/distribution.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,9 @@
<directory>src/main/java/samples</directory>
<outputDirectory>/src/main/java/samples</outputDirectory>
</fileSet>
<fileSet>
<directory>samples/diff</directory>
<includes>
<include>schema-diff-sample.*</include>
<include>wsdl-diff-sample.*</include>
</includes>
<!-- Add these specific files with execute permissions -->
<fileMode>0755</fileMode>
<outputDirectory>/samples/diff</outputDirectory>
</fileSet>
<fileSet>
<directory>samples</directory>
<outputDirectory>/samples</outputDirectory>
<excludes>
<exclude>diff/schema-diff-sample.*</exclude>
<exclude>diff/wsdl-diff-sample.*</exclude>
</excludes>
</fileSet>
<fileSet>
<directory>src/main/resources/web</directory>
Expand Down
59 changes: 25 additions & 34 deletions distribution/doc/distribution-README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,49 +3,37 @@ Membrane SOA Model

Command Line Tools
------------------
WSDL Diff:

bin\wsdldiff <<first wsdl file or url>> <<second wsdl file or url>> [<<report output folder>>]

Example:
1. cd c:\soa-model-home
2. c:\soa-model-home>bin\wsdldiff samples\diff\original\article.wsdl samples\diff\modified\article.wsdl



Schema Diff:

bin\schemadiff <<first schema file or url>> <<second schema file or url>> [<<report output folder>>]
WSDL Diff:

Example:
1. cd c:\soa-model-home
2. c:\soa-model-home>bin\schemadiff samples\diff\original\common.xsd samples\diff\modified\common.xsd
bin\wsdldiff <FirstWsdlFileOrUrl> <SecondWsdlFileOrUrl> [<ReportOutputFolder>]

Windows Example:
1. change to SOA_MODEL_HOME folder
2. > bin\wsdldiff samples\diff\original\article.wsdl samples\diff\modified\article.wsdl

Linux/Mac Example:
1. change to SOA_MODEL_HOME folder
2. > bin/wsdldiff.sh samples/diff/{original,modified}/article.wsdl

If no output folder is given, the report will be generated in 'diff-report' in your current directory.


Schema Diff:

Windows: bin\schemadiff <FirstSchemaFileOrUrl> <SecondSchemaFileOrUrl> [<ReportOutputFolder>]
Linux: bin/schemadiff.sh <FirstSchemaFileOrUrl> <SecondSchemaFileOrUrl> [<ReportOutputFolder>]

Windows Example:
1. change to SOA_MODEL_HOME folder
2. > bin\schemadiff samples\diff\original\common.xsd samples\diff\modified\common.xsd

Diff Examples
-------------
To generate a sample diff report for WSDL:

1. go to 'samples\diff\' folder
2. run the 'wsdl-sample-diff.bat' with a double click
3. go to 'wsdl-diff-output' and open 'diff-report.html'



To generate a sample diff report for XSD Schema:

1. go to 'samples\diff\' folder
2. run the 'schema-sample-diff.bat' with a doble click
3. go to 'schema-diff-output' and open 'diff-report.html'

Linux/Mac Example:
1. change to SOA_MODEL_HOME folder
2. > bin/schemadiff.sh samples/diff/{original,modified}/common.xsd

If no output folder is given, the report will be generated in 'diff-report' in your current directory.



Expand All @@ -54,8 +42,11 @@ Running the Samples in Eclipse
The binary distribution of SOA Model can be imported as a project to eclipse by the following steps:

1. In eclipse click on File/Import...
2. In the Wizard select 'General' --> 'Existing Projects into Workspace' as import source and click 'Next'
3. Select root directory and Click on 'Browse...'
4. Choose the directory, where you've extracted the soa-model-distribution-x-bin.zip
2. In the Wizard select 'General' --> 'Existing Projects into Workspace' as
import source and click 'Next'
3. Select root directory and Click on 'Browse...'
4. Choose the directory, where you've extracted the
soa-model-distribution-VERSION-bin.zip
5. Click on Finish
6. Run any of the programs in the samples package
6. Run any of the programs from src/main/java/samples/...

68 changes: 0 additions & 68 deletions distribution/samples/diff/readme.txt

This file was deleted.

9 changes: 0 additions & 9 deletions distribution/samples/diff/schema-diff-sample.bat

This file was deleted.

6 changes: 0 additions & 6 deletions distribution/samples/diff/schema-diff-sample.sh

This file was deleted.

9 changes: 0 additions & 9 deletions distribution/samples/diff/wsdl-diff-sample.bat

This file was deleted.

6 changes: 0 additions & 6 deletions distribution/samples/diff/wsdl-diff-sample.sh

This file was deleted.

0 comments on commit 8ca553e

Please sign in to comment.