You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by oliver lee <ol...@gmail.com> on 2010/03/26 09:43:46 UTC

how to start learn T5.2.x?

I have stopped learn T5 for a long time due to i am doing some other project
currently.

Now i want start learn T5 again,but where to start?

Does the tutorial1 project in the SVN repositry is valid?i cant run that
project, i think the exception is that cant load the
tapestry-hibernate module.

which project i can run with the RunjettyRun plugins,among the projects i
have checked out from the SVN repositroy?

thank you  very much!!

Re: how to start learn T5.2.x?

Posted by Ulrich Stärk <ul...@spielviel.de>.
Or even easier: add the modules to your command line parameters:

-Dtapestry.modules=org.apache.tapestry5.hibernate.HibernateModule,org.apache.tapestry5.hibernate.HibernateCoreModule

Uli

On 28.03.2010 10:26, Igor Drobiazko wrote:
> Tapestry IoC searches for the MANIFEST.MF inside a JAR. If the manifest
> entry is available, its value is interpreted as a comma separated list of
> module classes. Read [1] for more details.
>
> When tapestry-hibernate-core is built a MANIFEST.MF is created with
> manifest-jar-plugin [2]. In your eclipse environment this manifest is not
> available, so Tapestry is not aware of HibernateCoreModule. Instead of
> closing the project you also can create a MANIFEST.MF with following entry:
>
> Tapestry-Module-Classes: org.apache.tapestry5.hibernate.HibernateCoreModule
>
>
> [1] http://tapestry.apache.org/tapestry5.1/tapestry-ioc/autoload.html
> [2]
> http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-hibernate-core/pom.xml?view=markup
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: how to start learn T5.2.x?

Posted by Igor Drobiazko <ig...@gmail.com>.
Tapestry IoC searches for the MANIFEST.MF inside a JAR. If the manifest
entry is available, its value is interpreted as a comma separated list of
module classes. Read [1] for more details.

When tapestry-hibernate-core is built a MANIFEST.MF is created with
manifest-jar-plugin [2]. In your eclipse environment this manifest is not
available, so Tapestry is not aware of HibernateCoreModule. Instead of
closing the project you also can create a MANIFEST.MF with following entry:

Tapestry-Module-Classes: org.apache.tapestry5.hibernate.HibernateCoreModule


[1] http://tapestry.apache.org/tapestry5.1/tapestry-ioc/autoload.html
[2]
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-hibernate-core/pom.xml?view=markup

-- 
Best regards,

Igor Drobiazko
http://tapestry5.de/blog

On Sun, Mar 28, 2010 at 8:06 AM, oliver lee <ol...@gmail.com> wrote:

> thank you so much,Igor Drobiazko!
>
> follow your instruction ,i close the tapestry-hibernate* project in my
> eclipse workspace,
> then i can run the tutorial1 project successfully!
>
> i wonder why i have to close the tapestry-hibernate* project,
>
> the tutorial1 project or the t-h project got problem??
>
> 2010/3/27 Igor Drobiazko <ig...@gmail.com>
>
> > All of the test apps in the SVN repo can be started with RunJettyRun. You
> > can check out the source of app1 from tapestry-core to learn Tapestry. In
> > case of HiernateModule you should close the tapestry-hibernate-core
> > project,
> > then it will be loaded from your maven repo. I had the same issue two
> days
> > ago when starting the test app inside tapestry-hibernate.
> >
> >
> >
> > On Fri, Mar 26, 2010 at 9:43 AM, oliver lee <ol...@gmail.com>
> > wrote:
> >
> > > I have stopped learn T5 for a long time due to i am doing some other
> > > project
> > > currently.
> > >
> > > Now i want start learn T5 again,but where to start?
> > >
> > > Does the tutorial1 project in the SVN repositry is valid?i cant run
> that
> > > project, i think the exception is that cant load the
> > > tapestry-hibernate module.
> > >
> > > which project i can run with the RunjettyRun plugins,among the projects
> i
> > > have checked out from the SVN repositroy?
> > >
> > > thank you  very much!!
> > >
> >
> >
> >
> >  --
> > Best regards,
> >
> > Igor Drobiazko
> > http://tapestry5.de/blog
> >
>

Re: how to start learn T5.2.x?

Posted by oliver lee <ol...@gmail.com>.
thank you so much,Igor Drobiazko!

follow your instruction ,i close the tapestry-hibernate* project in my
eclipse workspace,
then i can run the tutorial1 project successfully!

i wonder why i have to close the tapestry-hibernate* project,

the tutorial1 project or the t-h project got problem??

2010/3/27 Igor Drobiazko <ig...@gmail.com>

> All of the test apps in the SVN repo can be started with RunJettyRun. You
> can check out the source of app1 from tapestry-core to learn Tapestry. In
> case of HiernateModule you should close the tapestry-hibernate-core
> project,
> then it will be loaded from your maven repo. I had the same issue two days
> ago when starting the test app inside tapestry-hibernate.
>
>
>
> On Fri, Mar 26, 2010 at 9:43 AM, oliver lee <ol...@gmail.com>
> wrote:
>
> > I have stopped learn T5 for a long time due to i am doing some other
> > project
> > currently.
> >
> > Now i want start learn T5 again,but where to start?
> >
> > Does the tutorial1 project in the SVN repositry is valid?i cant run that
> > project, i think the exception is that cant load the
> > tapestry-hibernate module.
> >
> > which project i can run with the RunjettyRun plugins,among the projects i
> > have checked out from the SVN repositroy?
> >
> > thank you  very much!!
> >
>
>
>
>  --
> Best regards,
>
> Igor Drobiazko
> http://tapestry5.de/blog
>

Re: how to start learn T5.2.x?

Posted by Igor Drobiazko <ig...@gmail.com>.
All of the test apps in the SVN repo can be started with RunJettyRun. You
can check out the source of app1 from tapestry-core to learn Tapestry. In
case of HiernateModule you should close the tapestry-hibernate-core project,
then it will be loaded from your maven repo. I had the same issue two days
ago when starting the test app inside tapestry-hibernate.



On Fri, Mar 26, 2010 at 9:43 AM, oliver lee <ol...@gmail.com> wrote:

> I have stopped learn T5 for a long time due to i am doing some other
> project
> currently.
>
> Now i want start learn T5 again,but where to start?
>
> Does the tutorial1 project in the SVN repositry is valid?i cant run that
> project, i think the exception is that cant load the
> tapestry-hibernate module.
>
> which project i can run with the RunjettyRun plugins,among the projects i
> have checked out from the SVN repositroy?
>
> thank you  very much!!
>



-- 
Best regards,

Igor Drobiazko
http://tapestry5.de/blog