You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a list of dependencies (more or less same code as previously but iterating over the inputstreams of "*.class" of the entries of the JarFile)
Finally includes/excludes option and outputFolder will be added as configurable parameter to the Mojo.
Side note: it is probably a good idea to add a __find_java script (the name should just not conflict with commands) to share the logic of the JAVA finding then to get java command scripts can do:
For the classpath the same trick will be applied using another script not generated for the first version (another issue can be opened to generate a full assembly). It means the user will have to provider a __set_classpath script initializing CREST_CLASSPATH environment variable and scripts will just reuse this.
The text was updated successfully, but these errors were encountered:
If my module has these commands:
then I should get the following scripts:
The scripts will support help:
will execute the command help foo
and
would execute the command help bar dummy
To find commands the Mojo will support:
Finally includes/excludes option and outputFolder will be added as configurable parameter to the Mojo.
Side note: it is probably a good idea to add a __find_java script (the name should just not conflict with commands) to share the logic of the JAVA finding then to get java command scripts can do:
Tip: https://github.com/apache/tomee/blob/master/tomee/apache-tomee/src/main/resources/tomee.sh#L24 or tomcat scripts can be used as model to find the right java command
For the classpath the same trick will be applied using another script not generated for the first version (another issue can be opened to generate a full assembly). It means the user will have to provider a __set_classpath script initializing CREST_CLASSPATH environment variable and scripts will just reuse this.
The text was updated successfully, but these errors were encountered: