Issue Type: Improvement Improvement
Assignee: Unassigned
Components: _General
Created: 05/Feb/13 12:17 AM
Description:

Hi, all.

I'm not sure this is right place to write.
So if not, please, tell me where I should put my message.

I about to create pom file for some legacy project.
I have to call visibroker compiler from Borland Enterprise Server to
generate stubs and other source files.
For this compiler I have to pass directory with license files as
system property.

So I add extra command line parameter named javaCommandLineString

I use it like that:

<execution>
<id>generate-java-files-from-idl-files</id>
<phase>generate-sources</phase>
<goals>
<goal>idl2java</goal>
</goals>
<configuration>

<outputDirectory>${project.build.directory}/genereated-sources</outputDirectory>
<javaCommandLineString>

-Dborland.enterprise.licenseDir=C:/work/legacy2/LegacySales/LegacySalesEJB/lib/lic
</javaCommandLineString>
<sources>
<source>src/main/idl/wcs.idl</source>
<source>src/main/idl/GIS.idl</source>
</sources>
<options>
<option>-no_comments -no_compile</option>
</options>
</configuration>
</execution>

I put my code to github

https://github.com/nizhikov/visibroker-maven-plugin.git

All changes in

https://github.com/nizhikov/visibroker-maven-plugin/blob/master/src/main/java/org/codehaus/mojo/visibroker/AbstractIDL2XXXMojo.java

I think that change may be usefull for other people.
What do you think?
Should I provide patch for this?

Project: Mojo
Priority: Minor Minor
Reporter: Nikolay Izhikov
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to