Jim,
I have got a working Visibroker plugin. It works in two ways - pure Java or
by running Visibroker supplied scripts from Java. Having both has been
necessary for me to get it work with JDK 1.5 - we don't have Visibroker for
1.5 (we're in the process of eliminating Visibroker altogether and
OK, so now I'm using the exec-plugin instead of my own code - great.
But I've lost the control I had over when the exec step happened.
I am using the plugin to generate SOAP wrappers for some Java code using
glue (themindelectric). This step involves running a Java class with
certain parameters
You're right - I did some unnecessary work! (I took my approach from the
idlj plugin, that basically puts some wrapper stuff around running the main
method on a Java class - I guess that was done that way for convenience
rather than needing lots of config in the pom).
Anyway, I've dumped my
Doh! (Thank you)
--
View this message in context:
http://www.nabble.com/Build-time-classpath-using-my-java-plugin-tf1914923.html#a5281234
Sent from the Maven - Users forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL
I've written a plugin (in Java) that explicitly invokes the main method of a
Java class directly from within the jvm that maven is already running. My
plugin is behaving/configured as I expect, but I have a classpath problem
when control switches from my plugin code to the main method of the
I've written a java plugin (for java Visibroker CORBA tasks) but am having
difficulty with the classpath.
I'm getting hold of the classpath using some code I found in the
idlj-maven-plugin:
// Get current class path
URLClassLoader cl = (URLClassLoader)
I'm guilty of not having searched thoroughly enough before this post -
apologies.
For others who find this post in search of answers themselves, there is
another thread in this forum that deals with exactly this issue.
--
View this message in context:
Try clicking on the underlined word thread in my post ! :)
--
View this message in context:
http://www.nabble.com/Getting-the-classpath-right-in-a-java-plugin-tf1861200.html#a5085121
Sent from the Maven - Users forum at Nabble.com.
Thanks Dan - got most of it working now.
--
View this message in context:
http://www.nabble.com/java2iiop-%28Visibroker%29-tf1846831.html#a5071927
Sent from the Maven - Users forum at Nabble.com.
-
To unsubscribe, e-mail:
Dan,
I'm on the way to building this. Just one question.
The steps in the process are:
1 compile java interface files
2 run java2iiop process to generate more classes
3 compille the generated classes with my own code
3 is obviously the normal compile phase
I would expect 2 to be
Tim - Now another repository is missing I guess - where do find this one?
(And how do I work out which repositories I need for the build? I thought
the whole point of maven was that the sufficient information to build
something would be included in its pom.xml?)
This is my repositories section
Dan,
I've added in the repository you mentioned to my settings.xml file (relevant
section included in my reply post to Tim on building the code from scratch),
but I'm now getting a different error:
[INFO]
[ERROR] BUILD
Tim/Dan,
Thank you both for your help on this.
I now have both the plugin and my own code (using the modified plugin)
working.
I had to remove a couple of repository entries from my pom, then all the
errors in both builds went away.
Thanks
Tim
--
View this message in context:
Has anyone seen a plugin, or configured one of the existing plugins to do
java to iiop generation using maven?
(Steps are compile an interface using javac, run java2iiop to generate
stubs, then compile stubs along with your own dependent code)
--
View this message in context:
Thanks Dan - I've already started work on it.
Given how proprietary it is (Visibroker) is there any point in me
contributing it back if I do get it working?
--
View this message in context:
http://www.nabble.com/java2iiop-%28Visibroker%29-t1846831.html#a5041649
Sent from the Maven - Users forum
Dan - thanks again - almost there with what I'm trying to do.
Two problems left - I haven't been able to build the plugin with your change
in.
I've pulled the code out of the repository through my proxy with:
svn checkout
https://svn.codehaus.org/mojo/trunk/mojo/maven-native/native-maven-plugin
Still struggling with the build - I now have the whole maven-native source
tree, and I get this error:
: mvn compile
[INFO] Scanning for projects...
Downloading:
http://repo1.maven.org/maven2/org/codehaus/mojo/mojo/9/mojo-9.pom
[WARNING] Unable to get resource from repository central
Thank you for the feedback so far. I've adopted the pom.xml changes you
suggested. I'd love to look at the Solaris jni example - how do I get it?
(i.e. how do I check out the jni example on solaris under
native-maven-plugin/src/it/jni?)
The jni step runs, but I'm having problems with
I'm trying to build using the mojo native plugin and to build a jni file from
a compiled class.
In my existing build process this is the command I use:
/usr/java1.4.1_02_32/bin/javah -jni -classpath
/home/hedgert/work/javautil/classes -o
I am developing a Java plugin, but cannot find any documentation or
information about how to access the POM.
Specifically, I want to get hold of the directory locations for source code
- but presumably you can actually get hold of all sorts of properties of the
Project from within Java in the
20 matches
Mail list logo