[Hibernate] hbm2java compability...

2005-04-08 Thread Max Rydahl Andersen
I've written a wiki page http://www.hibernate.org/276.html
describing which meta attributes hbm2java v3 supports compared to hbm2java  
v2.

I would like to ask you guys that uses hbm2java to go take a look and  
provide feedback on wether some of the NYI is critical for you (and either  
provide a patch for it or convince me to do it ;)

Thank you
--
--
Max Rydahl Andersen
callto://max.rydahl.andersen
Hibernate
[EMAIL PROTECTED]
http://hibernate.org
JBoss Inc
[EMAIL PROTECTED]
http://jboss.com
---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] antlr error during build

2005-04-08 Thread snpe
last hibernate3 cvs compile fine - you have any release/branch tag (maybe 3.0 
final)

regards
On Friday 08 April 2005 06:46 am, Max Rydahl Andersen wrote:
> On Fri, 08 Apr 2005 04:35:44 +0200, Simeon Leyzerzon <[EMAIL PROTECTED]>  
> wrote:
> 
> the ant's think its fun to make a ANT-distribution that does not run  
> without
> infecting it with project specific versions of dependent libraries.
> 
> So either you:
> 
> copy lib/antlr-*.jar and lib/junit-*.jar in to your local ant distribution  
> and then you can use "pure" ant
> OR (which is what i recommend)
> you use build.bat/sh which runs with just the libraries distributed with  
> hibernate.
> 
> /max
> 
> > Hi
> > I'm trying to build the project I've got from CVS and am getting the  
> > following error:
> >
> >
> > antlr:
> > [mkdir] Created dir:  
> > C:\Hibernate3\build\gensrc\org\hibernate\hql\antlr
> > [antlrtask] java.lang.NoClassDefFoundError: antlr/Tool
> > [antlrtask] Exception in thread "main"
> >
> >
> > BUILD FAILED
> > C:\Hibernate3\build.xml:164: ANTLR returned: 1
> >
> > How do I satisfy this antlr dependency?
> >
> > Thanks for your help.
> > Simeon
> >
> >
> >
> > ---
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > ___
> > hibernate-devel mailing list
> > hibernate-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/hibernate-devel
> 
> 
> 


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] automated plugin build script

2005-04-08 Thread Max Rydahl Andersen
On Fri, 08 Apr 2005 13:19:08 +0200, snpe <[EMAIL PROTECTED]> wrote:
last cvs webtools have compile error with 3.1M6, yet
Yes, but that does not stop the small fraction of webtools that we use  
from working.

/max
On Friday 08 April 2005 06:42 am, you wrote:
On Fri, 08 Apr 2005 04:03:13 +0200, snpe <[EMAIL PROTECTED]> wrote:
yes - the latest cvs is WST based (using their xml editor).
I have not had any issues with webtools latest release on 3.1M6. Have  
you ?

/max
> Hi,
>   I try build plugins, but org.hibernate.eclipse.mapper depend from
> webtools (probably) now
> I haven't extension "org.eclipse.wst.sse.core.modelHandler" or
> org.eclipse.wst ...
> Is it webtools and what version webtools we need (webtools for 3.1M6
> isn't out, yet)
>
> regards
> On Thursday 07 April 2005 08:57 pm, Max Rydahl Andersen wrote:
>> On Thu, 07 Apr 2005 20:04:02 +0200, John Franey  
<[EMAIL PROTECTED]>
>> wrote:
>>
>> > Max, and all,
>>
>> You are the man! ,)
>>
>> If you can bring me automated build of this stuff i'll be singing and
>> praising ,)
>>
>> I've been so annoyed with eclipse PDE's tedious build system and I  
have
>> simply
>> not have found enough solid information and time to do an automated
>> build
>> (and since I can just click "Export feature" today I haven't had  
enough
>> motivation
>> for doing it)
>>
>> Your build structure looks a-ok, having build.xml (autogenerated) and
>> hibernate-build.xml
>> sounds good to me.
>>
>> If you have something already then please provide it as a patch into  
the
>> jira and i'll try it out.
>>
>> Your future plans looks great and it will a very welcome  
contribution.
>>
>> I don't know if you have noticed that i have recently added
>> org.hibernate.eclipse.feature and
>> org.hibernate.eclipse.updatesite to cvs - two things that also would  
be
>> great to automatically
>> build (I even thing the .feature is actually what is meant to be  
called
>> head-less)
>>
>> Again - I will really appreciate this stuff, any improvements on
>> auto-building the plugins
>> will be blis!
>>
>> /max
>>
>> >
>> > I don't know what is in place or planned for automating plugin  
builds.
>> > I searched this mailing list archive and found discussions in Jan
>> 2005,
>> > and Dec 2004 regarding builds of plugins and source directory
>> structure,
>> > but neither of these addressed an automated mechanism.  This email  
is
>> a
>> > contribution.  I hope its helpful at this stage.  Attached is a
>> > prototype build file to show a possibility and I can continue if it
>> fits
>> > into your plans.
>> >
>> >
>> > Here are goals of the hibernate plugin build script:
>> >  - builds all plugins from one command: ant -f plugin-build.xml
>> > 
>> >
>> > - deposits zipped binary and source of plugins into a drop
>> directory.
>> >
>> > - supports build directly after 'cvs checkout' of the plugins,  
but
>> > after other libs in Ext are built.
>> >
>> > - simplify directions on the plugin contribution howto by
>> providing
>> > additional build targets (to be identified).
>> >- will copy resources into a plugin before building (leverages
>> > org.hibernate.eclipse/hibernate-build.xml update target.)
>> >- synchronize with the plugin build environment used by  
developer
>> in
>> > PDE session.   In other words, if a new library is added into the
>> > plugin's build path by a plugin developer using the eclipse PDE,  
the
>> new
>> > dependency should be picked up without further manual intervenetion
>> > (like adding a jar file to an ant property).
>> >
>> >
>> >
>> > According to  Clayberg and Rubel (in "Eclipse: Building Commercial
>> > Quality Plug-ins", Addison-Wesley), there are two cool mechanisms  
in
>> > eclipse that helps: 1) the PDE can generate a build.xml, and 2) the
>> > generated build.xml can be run 'headless' (without the user
>> interface).
>> >
>> > Here is proposed files and structure:
>> >
>> > HibernateExt
>> >   plugin-build.xml
>> >   org.hibernate.eclipse.*  (for each plugin)
>> >   build.xml (eclipse generated file)
>> >   hibernate-build.xml (provided by plugin developer)
>> >
>> >
>> > Attached is a the initial prototype of plugin-build.xml.  There is
>> more
>> > to do; this is a proof-of-concept demo.  It can build
>> > org.hibernate.eclipse zip files if org.hibernate.eclipse/build.xml  
was
>> > generated by developer in eclipse PDE, and if you have 3.1M6  
installed
>> > (Headless build in 3.1M5a didn't work).  Modify the eclipse.home  
and
>> > workspace properties in plugin-build.xml.  Run in HibernateExt as:
>> > ant -f plugin-build.xml zip.plugin
>> >
>> > By convention, each plugin's hibernate-build.xml would have  
well-known
>> > public targets for the plugin-build.xml to run: 'pre-build', and
>> others
>> > as needed.  In org.hibernate.eclipse/hibernate-build.xml, the  
target
>> > pre-build would antcall 'update'.   A set of properties would be  
made
>> > available to hibernate-build.xml (to be defined).
>> >
>> > To genera

Re: [Hibernate] automated plugin build script

2005-04-08 Thread snpe
Max,
  I can use only webtools plugins in mapper's plugin.xml - correct ?

Thanks
On Friday 08 April 2005 09:25 am, Max Rydahl Andersen wrote:
> On Fri, 08 Apr 2005 13:19:08 +0200, snpe <[EMAIL PROTECTED]> wrote:
> 
> > last cvs webtools have compile error with 3.1M6, yet
> 
> Yes, but that does not stop the small fraction of webtools that we use  
>  from working.
> 
> /max
> 
> > On Friday 08 April 2005 06:42 am, you wrote:
> >> On Fri, 08 Apr 2005 04:03:13 +0200, snpe <[EMAIL PROTECTED]> wrote:
> >>
> >> yes - the latest cvs is WST based (using their xml editor).
> >>
> >> I have not had any issues with webtools latest release on 3.1M6. Have  
> >> you ?
> >>
> >> /max
> >>
> >> > Hi,
> >> >   I try build plugins, but org.hibernate.eclipse.mapper depend from
> >> > webtools (probably) now
> >> > I haven't extension "org.eclipse.wst.sse.core.modelHandler" or
> >> > org.eclipse.wst ...
> >> > Is it webtools and what version webtools we need (webtools for 3.1M6
> >> > isn't out, yet)
> >> >
> >> > regards
> >> > On Thursday 07 April 2005 08:57 pm, Max Rydahl Andersen wrote:
> >> >> On Thu, 07 Apr 2005 20:04:02 +0200, John Franey  
> >> <[EMAIL PROTECTED]>
> >> >> wrote:
> >> >>
> >> >> > Max, and all,
> >> >>
> >> >> You are the man! ,)
> >> >>
> >> >> If you can bring me automated build of this stuff i'll be singing and
> >> >> praising ,)
> >> >>
> >> >> I've been so annoyed with eclipse PDE's tedious build system and I  
> >> have
> >> >> simply
> >> >> not have found enough solid information and time to do an automated
> >> >> build
> >> >> (and since I can just click "Export feature" today I haven't had  
> >> enough
> >> >> motivation
> >> >> for doing it)
> >> >>
> >> >> Your build structure looks a-ok, having build.xml (autogenerated) and
> >> >> hibernate-build.xml
> >> >> sounds good to me.
> >> >>
> >> >> If you have something already then please provide it as a patch into  
> >> the
> >> >> jira and i'll try it out.
> >> >>
> >> >> Your future plans looks great and it will a very welcome  
> >> contribution.
> >> >>
> >> >> I don't know if you have noticed that i have recently added
> >> >> org.hibernate.eclipse.feature and
> >> >> org.hibernate.eclipse.updatesite to cvs - two things that also would  
> >> be
> >> >> great to automatically
> >> >> build (I even thing the .feature is actually what is meant to be  
> >> called
> >> >> head-less)
> >> >>
> >> >> Again - I will really appreciate this stuff, any improvements on
> >> >> auto-building the plugins
> >> >> will be blis!
> >> >>
> >> >> /max
> >> >>
> >> >> >
> >> >> > I don't know what is in place or planned for automating plugin  
> >> builds.
> >> >> > I searched this mailing list archive and found discussions in Jan
> >> >> 2005,
> >> >> > and Dec 2004 regarding builds of plugins and source directory
> >> >> structure,
> >> >> > but neither of these addressed an automated mechanism.  This email  
> >> is
> >> >> a
> >> >> > contribution.  I hope its helpful at this stage.  Attached is a
> >> >> > prototype build file to show a possibility and I can continue if it
> >> >> fits
> >> >> > into your plans.
> >> >> >
> >> >> >
> >> >> > Here are goals of the hibernate plugin build script:
> >> >> >  - builds all plugins from one command: ant -f plugin-build.xml
> >> >> > 
> >> >> >
> >> >> > - deposits zipped binary and source of plugins into a drop
> >> >> directory.
> >> >> >
> >> >> > - supports build directly after 'cvs checkout' of the plugins,  
> >> but
> >> >> > after other libs in Ext are built.
> >> >> >
> >> >> > - simplify directions on the plugin contribution howto by
> >> >> providing
> >> >> > additional build targets (to be identified).
> >> >> >- will copy resources into a plugin before building (leverages
> >> >> > org.hibernate.eclipse/hibernate-build.xml update target.)
> >> >> >- synchronize with the plugin build environment used by  
> >> developer
> >> >> in
> >> >> > PDE session.   In other words, if a new library is added into the
> >> >> > plugin's build path by a plugin developer using the eclipse PDE,  
> >> the
> >> >> new
> >> >> > dependency should be picked up without further manual intervenetion
> >> >> > (like adding a jar file to an ant property).
> >> >> >
> >> >> >
> >> >> >
> >> >> > According to  Clayberg and Rubel (in "Eclipse: Building Commercial
> >> >> > Quality Plug-ins", Addison-Wesley), there are two cool mechanisms  
> >> in
> >> >> > eclipse that helps: 1) the PDE can generate a build.xml, and 2) the
> >> >> > generated build.xml can be run 'headless' (without the user
> >> >> interface).
> >> >> >
> >> >> > Here is proposed files and structure:
> >> >> >
> >> >> > HibernateExt
> >> >> >   plugin-build.xml
> >> >> >   org.hibernate.eclipse.*  (for each plugin)
> >> >> >   build.xml (eclipse generated file)
> >> >> >   hibernate-build.xml (provided by plugin developer)
> >> >> >
> >> >> >
> >> >> > Attached is a the initial prototype of plugin-build.xml.  There

Re: [Hibernate] automated plugin build script

2005-04-08 Thread Max Rydahl Andersen
On Fri, 08 Apr 2005 13:34:00 +0200, snpe <[EMAIL PROTECTED]> wrote:
Max,
  I can use only webtools plugins in mapper's plugin.xml - correct ?
I dont understand the question.
But my guess is you are asking for where webtools are being used, and yes  
that
is only in the mapper plugin.xml.

/max
Thanks
On Friday 08 April 2005 09:25 am, Max Rydahl Andersen wrote:
On Fri, 08 Apr 2005 13:19:08 +0200, snpe <[EMAIL PROTECTED]> wrote:
> last cvs webtools have compile error with 3.1M6, yet
Yes, but that does not stop the small fraction of webtools that we use
 from working.
/max
> On Friday 08 April 2005 06:42 am, you wrote:
>> On Fri, 08 Apr 2005 04:03:13 +0200, snpe <[EMAIL PROTECTED]> wrote:
>>
>> yes - the latest cvs is WST based (using their xml editor).
>>
>> I have not had any issues with webtools latest release on 3.1M6. Have
>> you ?
>>
>> /max
>>
>> > Hi,
>> >   I try build plugins, but org.hibernate.eclipse.mapper depend from
>> > webtools (probably) now
>> > I haven't extension "org.eclipse.wst.sse.core.modelHandler" or
>> > org.eclipse.wst ...
>> > Is it webtools and what version webtools we need (webtools for  
3.1M6
>> > isn't out, yet)
>> >
>> > regards
>> > On Thursday 07 April 2005 08:57 pm, Max Rydahl Andersen wrote:
>> >> On Thu, 07 Apr 2005 20:04:02 +0200, John Franey
>> <[EMAIL PROTECTED]>
>> >> wrote:
>> >>
>> >> > Max, and all,
>> >>
>> >> You are the man! ,)
>> >>
>> >> If you can bring me automated build of this stuff i'll be singing  
and
>> >> praising ,)
>> >>
>> >> I've been so annoyed with eclipse PDE's tedious build system and I
>> have
>> >> simply
>> >> not have found enough solid information and time to do an  
automated
>> >> build
>> >> (and since I can just click "Export feature" today I haven't had
>> enough
>> >> motivation
>> >> for doing it)
>> >>
>> >> Your build structure looks a-ok, having build.xml (autogenerated)  
and
>> >> hibernate-build.xml
>> >> sounds good to me.
>> >>
>> >> If you have something already then please provide it as a patch  
into
>> the
>> >> jira and i'll try it out.
>> >>
>> >> Your future plans looks great and it will a very welcome
>> contribution.
>> >>
>> >> I don't know if you have noticed that i have recently added
>> >> org.hibernate.eclipse.feature and
>> >> org.hibernate.eclipse.updatesite to cvs - two things that also  
would
>> be
>> >> great to automatically
>> >> build (I even thing the .feature is actually what is meant to be
>> called
>> >> head-less)
>> >>
>> >> Again - I will really appreciate this stuff, any improvements on
>> >> auto-building the plugins
>> >> will be blis!
>> >>
>> >> /max
>> >>
>> >> >
>> >> > I don't know what is in place or planned for automating plugin
>> builds.
>> >> > I searched this mailing list archive and found discussions in  
Jan
>> >> 2005,
>> >> > and Dec 2004 regarding builds of plugins and source directory
>> >> structure,
>> >> > but neither of these addressed an automated mechanism.  This  
email
>> is
>> >> a
>> >> > contribution.  I hope its helpful at this stage.  Attached is a
>> >> > prototype build file to show a possibility and I can continue  
if it
>> >> fits
>> >> > into your plans.
>> >> >
>> >> >
>> >> > Here are goals of the hibernate plugin build script:
>> >> >  - builds all plugins from one command: ant -f  
plugin-build.xml
>> >> > 
>> >> >
>> >> > - deposits zipped binary and source of plugins into a drop
>> >> directory.
>> >> >
>> >> > - supports build directly after 'cvs checkout' of the  
plugins,
>> but
>> >> > after other libs in Ext are built.
>> >> >
>> >> > - simplify directions on the plugin contribution howto by
>> >> providing
>> >> > additional build targets (to be identified).
>> >> >- will copy resources into a plugin before building  
(leverages
>> >> > org.hibernate.eclipse/hibernate-build.xml update target.)
>> >> >- synchronize with the plugin build environment used by
>> developer
>> >> in
>> >> > PDE session.   In other words, if a new library is added into  
the
>> >> > plugin's build path by a plugin developer using the eclipse PDE,
>> the
>> >> new
>> >> > dependency should be picked up without further manual  
intervenetion
>> >> > (like adding a jar file to an ant property).
>> >> >
>> >> >
>> >> >
>> >> > According to  Clayberg and Rubel (in "Eclipse: Building  
Commercial
>> >> > Quality Plug-ins", Addison-Wesley), there are two cool  
mechanisms
>> in
>> >> > eclipse that helps: 1) the PDE can generate a build.xml, and 2)  
the
>> >> > generated build.xml can be run 'headless' (without the user
>> >> interface).
>> >> >
>> >> > Here is proposed files and structure:
>> >> >
>> >> > HibernateExt
>> >> >   plugin-build.xml
>> >> >   org.hibernate.eclipse.*  (for each plugin)
>> >> >   build.xml (eclipse generated file)
>> >> >   hibernate-build.xml (provided by plugin developer)
>> >> >
>> >> >
>> >> > Attached is a the initial prototype of plugin-build.xml.  There  
is
>> >> more
>> >> > to do; this is a proof-of-con

Re: [Hibernate] automated plugin build script

2005-04-08 Thread snpe
Max,
  Do you use only this webtools plugins (from mapper's MANIFEST file)
org.eclipse.wst.xml.core,
 org.eclipse.wst.sse.core,
 org.eclipse.wst.xml.ui,
 org.eclipse.wst.sse.ui,
 org.eclipse.wst.common.contentmodel,
 org.eclipse.wst.common.encoding

Is there dependency from JBossIde, yet ?

Thanks

On Friday 08 April 2005 09:46 am, Max Rydahl Andersen wrote:
> On Fri, 08 Apr 2005 13:34:00 +0200, snpe <[EMAIL PROTECTED]> wrote:
> 
> > Max,
> >   I can use only webtools plugins in mapper's plugin.xml - correct ?
> 
> I dont understand the question.
> 
> But my guess is you are asking for where webtools are being used, and yes  
> that
> is only in the mapper plugin.xml.
> 
> 
> /max
> >
> > Thanks
> > On Friday 08 April 2005 09:25 am, Max Rydahl Andersen wrote:
> >> On Fri, 08 Apr 2005 13:19:08 +0200, snpe <[EMAIL PROTECTED]> wrote:
> >>
> >> > last cvs webtools have compile error with 3.1M6, yet
> >>
> >> Yes, but that does not stop the small fraction of webtools that we use
> >>  from working.
> >>
> >> /max
> >>
> >> > On Friday 08 April 2005 06:42 am, you wrote:
> >> >> On Fri, 08 Apr 2005 04:03:13 +0200, snpe <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >> yes - the latest cvs is WST based (using their xml editor).
> >> >>
> >> >> I have not had any issues with webtools latest release on 3.1M6. Have
> >> >> you ?
> >> >>
> >> >> /max
> >> >>
> >> >> > Hi,
> >> >> >   I try build plugins, but org.hibernate.eclipse.mapper depend from
> >> >> > webtools (probably) now
> >> >> > I haven't extension "org.eclipse.wst.sse.core.modelHandler" or
> >> >> > org.eclipse.wst ...
> >> >> > Is it webtools and what version webtools we need (webtools for  
> >> 3.1M6
> >> >> > isn't out, yet)
> >> >> >
> >> >> > regards
> >> >> > On Thursday 07 April 2005 08:57 pm, Max Rydahl Andersen wrote:
> >> >> >> On Thu, 07 Apr 2005 20:04:02 +0200, John Franey
> >> >> <[EMAIL PROTECTED]>
> >> >> >> wrote:
> >> >> >>
> >> >> >> > Max, and all,
> >> >> >>
> >> >> >> You are the man! ,)
> >> >> >>
> >> >> >> If you can bring me automated build of this stuff i'll be singing  
> >> and
> >> >> >> praising ,)
> >> >> >>
> >> >> >> I've been so annoyed with eclipse PDE's tedious build system and I
> >> >> have
> >> >> >> simply
> >> >> >> not have found enough solid information and time to do an  
> >> automated
> >> >> >> build
> >> >> >> (and since I can just click "Export feature" today I haven't had
> >> >> enough
> >> >> >> motivation
> >> >> >> for doing it)
> >> >> >>
> >> >> >> Your build structure looks a-ok, having build.xml (autogenerated)  
> >> and
> >> >> >> hibernate-build.xml
> >> >> >> sounds good to me.
> >> >> >>
> >> >> >> If you have something already then please provide it as a patch  
> >> into
> >> >> the
> >> >> >> jira and i'll try it out.
> >> >> >>
> >> >> >> Your future plans looks great and it will a very welcome
> >> >> contribution.
> >> >> >>
> >> >> >> I don't know if you have noticed that i have recently added
> >> >> >> org.hibernate.eclipse.feature and
> >> >> >> org.hibernate.eclipse.updatesite to cvs - two things that also  
> >> would
> >> >> be
> >> >> >> great to automatically
> >> >> >> build (I even thing the .feature is actually what is meant to be
> >> >> called
> >> >> >> head-less)
> >> >> >>
> >> >> >> Again - I will really appreciate this stuff, any improvements on
> >> >> >> auto-building the plugins
> >> >> >> will be blis!
> >> >> >>
> >> >> >> /max
> >> >> >>
> >> >> >> >
> >> >> >> > I don't know what is in place or planned for automating plugin
> >> >> builds.
> >> >> >> > I searched this mailing list archive and found discussions in  
> >> Jan
> >> >> >> 2005,
> >> >> >> > and Dec 2004 regarding builds of plugins and source directory
> >> >> >> structure,
> >> >> >> > but neither of these addressed an automated mechanism.  This  
> >> email
> >> >> is
> >> >> >> a
> >> >> >> > contribution.  I hope its helpful at this stage.  Attached is a
> >> >> >> > prototype build file to show a possibility and I can continue  
> >> if it
> >> >> >> fits
> >> >> >> > into your plans.
> >> >> >> >
> >> >> >> >
> >> >> >> > Here are goals of the hibernate plugin build script:
> >> >> >> >  - builds all plugins from one command: ant -f  
> >> plugin-build.xml
> >> >> >> > 
> >> >> >> >
> >> >> >> > - deposits zipped binary and source of plugins into a drop
> >> >> >> directory.
> >> >> >> >
> >> >> >> > - supports build directly after 'cvs checkout' of the  
> >> plugins,
> >> >> but
> >> >> >> > after other libs in Ext are built.
> >> >> >> >
> >> >> >> > - simplify directions on the plugin contribution howto by
> >> >> >> providing
> >> >> >> > additional build targets (to be identified).
> >> >> >> >- will copy resources into a plugin before building  
> >> (leverages
> >> >> >> > org.hibernate.eclipse/hibernate-build.xml update target.)
> >> >> >> >- synchronize with the plugin build environment used by
> >> >> developer
> >> >> >> in
> >> >> >> > PDE session.   In other wor

Re: [Hibernate] automated plugin build script

2005-04-08 Thread Max Rydahl Andersen
On Fri, 08 Apr 2005 17:43:58 +0200, snpe <[EMAIL PROTECTED]> wrote:
Max,
  Do you use only this webtools plugins (from mapper's MANIFEST file)
org.eclipse.wst.xml.core,
 org.eclipse.wst.sse.core,
 org.eclipse.wst.xml.ui,
 org.eclipse.wst.sse.ui,
 org.eclipse.wst.common.contentmodel,
 org.eclipse.wst.common.encoding
Yes, i'm only dependent on these (but they are dependent on more) - why ?
Simply download webtools and run ... simple thing ,)
Is there dependency from JBossIde, yet ?
hibernate tools is not at the moment dependent on jbosside.
jbosside is starting to move their xml stuff to be based on WTP.
/max
Thanks
On Friday 08 April 2005 09:46 am, Max Rydahl Andersen wrote:
On Fri, 08 Apr 2005 13:34:00 +0200, snpe <[EMAIL PROTECTED]> wrote:
> Max,
>   I can use only webtools plugins in mapper's plugin.xml - correct ?
I dont understand the question.
But my guess is you are asking for where webtools are being used, and  
yes
that
is only in the mapper plugin.xml.

/max
>
> Thanks
> On Friday 08 April 2005 09:25 am, Max Rydahl Andersen wrote:
>> On Fri, 08 Apr 2005 13:19:08 +0200, snpe <[EMAIL PROTECTED]> wrote:
>>
>> > last cvs webtools have compile error with 3.1M6, yet
>>
>> Yes, but that does not stop the small fraction of webtools that we  
use
>>  from working.
>>
>> /max
>>
>> > On Friday 08 April 2005 06:42 am, you wrote:
>> >> On Fri, 08 Apr 2005 04:03:13 +0200, snpe <[EMAIL PROTECTED]> wrote:
>> >>
>> >> yes - the latest cvs is WST based (using their xml editor).
>> >>
>> >> I have not had any issues with webtools latest release on 3.1M6.  
Have
>> >> you ?
>> >>
>> >> /max
>> >>
>> >> > Hi,
>> >> >   I try build plugins, but org.hibernate.eclipse.mapper depend  
from
>> >> > webtools (probably) now
>> >> > I haven't extension "org.eclipse.wst.sse.core.modelHandler" or
>> >> > org.eclipse.wst ...
>> >> > Is it webtools and what version webtools we need (webtools for
>> 3.1M6
>> >> > isn't out, yet)
>> >> >
>> >> > regards
>> >> > On Thursday 07 April 2005 08:57 pm, Max Rydahl Andersen wrote:
>> >> >> On Thu, 07 Apr 2005 20:04:02 +0200, John Franey
>> >> <[EMAIL PROTECTED]>
>> >> >> wrote:
>> >> >>
>> >> >> > Max, and all,
>> >> >>
>> >> >> You are the man! ,)
>> >> >>
>> >> >> If you can bring me automated build of this stuff i'll be  
singing
>> and
>> >> >> praising ,)
>> >> >>
>> >> >> I've been so annoyed with eclipse PDE's tedious build system  
and I
>> >> have
>> >> >> simply
>> >> >> not have found enough solid information and time to do an
>> automated
>> >> >> build
>> >> >> (and since I can just click "Export feature" today I haven't  
had
>> >> enough
>> >> >> motivation
>> >> >> for doing it)
>> >> >>
>> >> >> Your build structure looks a-ok, having build.xml  
(autogenerated)
>> and
>> >> >> hibernate-build.xml
>> >> >> sounds good to me.
>> >> >>
>> >> >> If you have something already then please provide it as a patch
>> into
>> >> the
>> >> >> jira and i'll try it out.
>> >> >>
>> >> >> Your future plans looks great and it will a very welcome
>> >> contribution.
>> >> >>
>> >> >> I don't know if you have noticed that i have recently added
>> >> >> org.hibernate.eclipse.feature and
>> >> >> org.hibernate.eclipse.updatesite to cvs - two things that also
>> would
>> >> be
>> >> >> great to automatically
>> >> >> build (I even thing the .feature is actually what is meant to  
be
>> >> called
>> >> >> head-less)
>> >> >>
>> >> >> Again - I will really appreciate this stuff, any improvements  
on
>> >> >> auto-building the plugins
>> >> >> will be blis!
>> >> >>
>> >> >> /max
>> >> >>
>> >> >> >
>> >> >> > I don't know what is in place or planned for automating  
plugin
>> >> builds.
>> >> >> > I searched this mailing list archive and found discussions in
>> Jan
>> >> >> 2005,
>> >> >> > and Dec 2004 regarding builds of plugins and source directory
>> >> >> structure,
>> >> >> > but neither of these addressed an automated mechanism.  This
>> email
>> >> is
>> >> >> a
>> >> >> > contribution.  I hope its helpful at this stage.  Attached  
is a
>> >> >> > prototype build file to show a possibility and I can continue
>> if it
>> >> >> fits
>> >> >> > into your plans.
>> >> >> >
>> >> >> >
>> >> >> > Here are goals of the hibernate plugin build script:
>> >> >> >  - builds all plugins from one command: ant -f
>> plugin-build.xml
>> >> >> > 
>> >> >> >
>> >> >> > - deposits zipped binary and source of plugins into a  
drop
>> >> >> directory.
>> >> >> >
>> >> >> > - supports build directly after 'cvs checkout' of the
>> plugins,
>> >> but
>> >> >> > after other libs in Ext are built.
>> >> >> >
>> >> >> > - simplify directions on the plugin contribution howto by
>> >> >> providing
>> >> >> > additional build targets (to be identified).
>> >> >> >- will copy resources into a plugin before building
>> (leverages
>> >> >> > org.hibernate.eclipse/hibernate-build.xml update target.)
>> >> >> >- synchronize with the plugin build environment used by
>> >> developer
>> >> >> in

Re: [Hibernate] automated plugin build script

2005-04-08 Thread snpe
On Friday 08 April 2005 02:20 pm, Max Rydahl Andersen wrote:
> On Fri, 08 Apr 2005 17:43:58 +0200, snpe <[EMAIL PROTECTED]> wrote:
> 
> > Max,
> >   Do you use only this webtools plugins (from mapper's MANIFEST file)
> > org.eclipse.wst.xml.core,
> >  org.eclipse.wst.sse.core,
> >  org.eclipse.wst.xml.ui,
> >  org.eclipse.wst.sse.ui,
> >  org.eclipse.wst.common.contentmodel,
> >  org.eclipse.wst.common.encoding
> 
> Yes, i'm only dependent on these (but they are dependent on more) - why ?
> Simply download webtools and run ... simple thing ,)

Thanks Max,
   I want stay up to date with webtools, hibernate tools etc and I have dialup 
and can't download
all every time (webtools,emf,gef,jem etc) and I build all form cvs

regards


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


[Hibernate] collections 3?

2005-04-08 Thread Gavin King








Would it be an absolute disaster to upgrade to
commons-collections 3?

 

what other projects are using collectons 2?








Re: [Hibernate] automated plugin build script

2005-04-08 Thread John Franey




Max Rydahl Andersen wrote:
On Thu, 07 Apr 2005 20:04:02 +0200, John Franey
<[EMAIL PROTECTED]>  wrote:
  
  
  Max, and all,

  
  
You are the man! ,)
  
  
If you can bring me automated build of this stuff i'll be singing and 
praising ,)
  
  

Oops.  I hope expectations are not raised too high.  Although I've
constructed auto build environments before, this is the first for me of
eclipse plugins.  I will bring notes and discussion to this mail list
as I proceed.

I've been so annoyed with eclipse PDE's tedious build
system and I have  simply
  
not have found enough solid information and time to do an automated
build
  
(and since I can just click "Export feature" today I haven't had
enough  motivation
  
for doing it)
  
  
Your build structure looks a-ok, having build.xml (autogenerated) and 
hibernate-build.xml
  
sounds good to me.
  
  
If you have something already then please provide it as a patch into
the  jira and i'll try it out.
  

Negative.

Your future plans looks great and it will a very welcome contribution.
  
  

I have revised abit because I found an eclipse page that describes how
to do this with an existing tool in eclipse: PDE
BUILD.  I will attempt to conform to this framework.  What I had
shared with you fits into this framework, I think.  I'll keep you
posted as I proceed.
I don't know if you have noticed that i have recently
added  org.hibernate.eclipse.feature and
  
org.hibernate.eclipse.updatesite to cvs - two things that also would
be  great to automatically
  
build (I even thing the .feature is actually what is meant to be
called  head-less)
  
  

I noticed feature but not updatesite yet.  I'll make sure they are
dealt with.  I will document how to add new plugins to the build list. 
I assume these are pluginsright?   I was  also assuming the plugin
autobuild would be run after autobuild of hibernate, other non-plugins
in HibernateExt (console, metadata, whatever); that the plugin
autobuild would point to finished autobuild of these.  Are these
already autobuilt?  If not, then should that be in scope here? 
Personally, I think that is a big chunk to chew off at once and will
stick with plugin autobuild in the nearterm.

Again - I will really appreciate this stuff, any
improvements on  auto-building the plugins
  
will be blis!
  
  
/max
  
  


Thanks for allowing me to contribute.
John