You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by Patrick Linskey <pl...@gmail.com> on 2007/05/05 01:02:46 UTC

IntelliJ IDEA plugin

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

Re: IntelliJ IDEA plugin

Posted by Patrick Linskey <pl...@gmail.com>.
I doubt it -- I'm doing some digging into various internal data structures.

-Patrick

On 5/5/07, Craig L Russell <Cr...@sun.com> 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:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>
>
>


-- 
Patrick Linskey
202 669 5907

Re: IntelliJ IDEA plugin

Posted by Craig L Russell <Cr...@Sun.COM>.
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:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!