[ANN] Orion Plugin 2.0

I've uploaded my orion plugin for EAP 2126. It doesn't do anything amazing, but lets you run apps and webapps very easily with orion. Needless to say, it probably has its fair share of bugs, so I'd appreciate any feedback and/or ideas.

Thanks to Olesya and Maxim for all your hard work!

12 comments
Comment actions Permalink

Ive been waiting for an Orion/OC4J plugin. Thanks.

0
Comment actions Permalink

I dont suppose the source will be available, will it?

0
Comment actions Permalink

Fraid not. Not for now at least.

0
Comment actions Permalink

Hey, there is one thing I did notice off the bat though. It seems that when it tries to run the app server it does not use my project classpath.

0
Comment actions Permalink

Right, it's generally agreed on that you shouldn't have your app-specific stuff in the appserver's classpath. Specify them as deps to your app and configure the module properties to include them in WEB-INF or whatever.

0
Comment actions Permalink

Ok that sounds good, but how do I go about changing the app server classpath? In the "Application Server" IDE settings I added a orion 2 configuration and defined all my jars there. But when I try to run the app server, the classpath does not seem to use the jar that I defined in the settings. I just get this list of jars that is hard coded i think.

-classpath orion.jar;ejb.jar;jdbc.jar;jta.jar;jndi.jar;xalan.jar;connector.jar;jsse.jar;jnet.jar;jcert.jar;activation.jar;mail.jar;jaas.jar;

Thanks.

0
Comment actions Permalink

Ah, yeah it is hardcoded. The list of jars is there just for compilation purposes, it's basically the j2ee stuff + orion.

I could change it to use that list though, I spose that'd give you what you need.

0
Comment actions Permalink

Yes that would be nice. Thanks.

0
Comment actions Permalink

Fixed. You might need to recreate your orion appserver instance so the new jars can be picked up.

0
Comment actions Permalink

Great! Thanks.

0
Comment actions Permalink

For orion plugin 2.0, it is great.

When develop at windows, there is maybe a little bug, for orion (2.0.2, 2.0.3), the war and ejb path, expire is, for example, C:\Orion\App.war. But the plugin created path is C:/Orion/App.war. So, orion can deploy this module.

And furthermore, can add a checkbox at plugin to disable create orion configure file, server.xml, application.xml ... automatically, plugin can use orion home configure file. I think, I can write that configure file to make plugin more flexiable.

0
Comment actions Permalink

The windows bug is fixed, but I'm not sure I see the value in using existing orion configs...why would you do this in IDEA, if you can just go to command line and run java -jar orion.jar to use existing configs?

0

Please sign in to leave a comment.