Oxalis SimpleSender does not come with an extension folder. So we need to add the extension logic that where define in the run scripts our self.
We make a base folder named oxalis-standalone-as4 with two sub folders:
oxalis-standalone-as4/ <-- Base folder, we will run our commands from here ├── standalone/ <-- We will putt our regular Oxalis Standalone application here... │ ├── oxalis-standalone.jar │ ├── posibly-other.jar │ └── ... └── as4/ <-- ...and our AS4 extension here ├── oxalis-as4.jar ├── many-other.jar └── ...
To run our combined application all we need to do is to run the following command (This command assumes we are standing in our base folder):
java -classpath "standalone/*;as4/*" eu.sendregning.oxalis.Main [followd by the argument like -f c:\some-invoice.xml]
All this command does is to tell Java to load the content of both folders, then execute the logic in "eu.sendregning.oxalis.Main" (which is the starting point of the Standalone application). By looking into the run scripts of Oxalis Server form our previous section we can see that this is in fact the same approach that is used there.