Re: IntelliJ IDEA plugin

2007-05-05 Thread Craig L Russell

Hi Patrick,

Could you get IJ to open-source the required interfaces needed to  
compile with? That would be the best option if you wanted to add it  
to the OpenJPA project.


Craig

On May 4, 2007, at 4:02 PM, Patrick Linskey wrote:


Hi,

Earlier this week, I wrote a (very) basic OpenJPA / IntelliJ plugin.
It automatically runs the enhancer on persistent types after
compilation completes, for any persistence units that don't have a
persistence provider declared or that declare OpenJPA as their
persistence provider.

Clearly, I'd like to make this available for IntelliJ users. Does
anyone on this list have any experience with registering, deploying,
and maintaining plugins via JetBrains' registry?

Also, currently, the plugin includes the OpenJPA jars; I'd prefer if
it depended on picking up the jars from the module's classpath, for a
bunch of reasons. Does anyone have any experience with writing plugins
that use classes defined in the module classpath?

Finally, in order to build the sources, certain IntelliJ classes need
to be in the classpath. Does anyone know of any Apache precedents for
dealing with this type of situation?

-Patrick

--
Patrick Linskey
202 669 5907


Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!



smime.p7s
Description: S/MIME cryptographic signature


Re: IntelliJ IDEA plugin

2007-05-05 Thread Patrick Linskey

I doubt it -- I'm doing some digging into various internal data structures.

-Patrick

On 5/5/07, Craig L Russell [EMAIL PROTECTED] wrote:

Hi Patrick,

Could you get IJ to open-source the required interfaces needed to
compile with? That would be the best option if you wanted to add it
to the OpenJPA project.

Craig

On May 4, 2007, at 4:02 PM, Patrick Linskey wrote:

 Hi,

 Earlier this week, I wrote a (very) basic OpenJPA / IntelliJ plugin.
 It automatically runs the enhancer on persistent types after
 compilation completes, for any persistence units that don't have a
 persistence provider declared or that declare OpenJPA as their
 persistence provider.

 Clearly, I'd like to make this available for IntelliJ users. Does
 anyone on this list have any experience with registering, deploying,
 and maintaining plugins via JetBrains' registry?

 Also, currently, the plugin includes the OpenJPA jars; I'd prefer if
 it depended on picking up the jars from the module's classpath, for a
 bunch of reasons. Does anyone have any experience with writing plugins
 that use classes defined in the module classpath?

 Finally, in order to build the sources, certain IntelliJ classes need
 to be in the classpath. Does anyone know of any Apache precedents for
 dealing with this type of situation?

 -Patrick

 --
 Patrick Linskey
 202 669 5907

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!






--
Patrick Linskey
202 669 5907