Re: [T5] Service Module declaration

2007-09-06 Thread Francois Armand

Kheldar666 wrote:

Hi everybody,
  

Hello,

My problem is that I don't find a way to tell Tapestry IoC that there is a
Module in package A and another in package B.

I don't want to use @SubModule in AppModule because the packages a supposed
to be plugins (so they can be there or not) and it seems the manifest file
can only be used within a jar file (and I can't create a jar file each time
I test my plug in :s )
  
I saw that in a (old) thread : 
http://mail-archives.apache.org/mod_mbox/tapestry-users/200704.mbox/[EMAIL PROTECTED]

But I can't tell you anymore, since a didn't test it.

Hope it will help

--
Francois Armand
Etudes  Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
---
InterLDAP - http://interldap.org 
FederID - http://www.federid.org/

Open Source identities management and federation


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] Service Module declaration

2007-09-06 Thread Thiago H de Paula Figueiredo
On Thu, 06 Sep 2007 09:52:13 -0300, Kheldar666 [EMAIL PROTECTED]  
wrote:



Is there any other solution to tell Tapestry IoC that there's a Module
somewhere else ?


Yes! Take a look at the Module Autoloading section in  
http://tapestry.apache.org/tapestry5/tapestry-ioc/module.html.


--
Thiago H. de Paula Figueiredo
Desenvolvedor, Instrutor e Consultor de Tecnologia
Eteg Tecnologia da Informação Ltda.
http://www.eteg.com.br

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] Service Module declaration

2007-09-06 Thread Thiago H de Paula Figueiredo
On Thu, 06 Sep 2007 10:03:04 -0300, Francois Armand [EMAIL PROTECTED]  
wrote:


I saw that in a (old) thread :  
http://mail-archives.apache.org/mod_mbox/tapestry-users/200704.mbox/[EMAIL PROTECTED]

But I can't tell you anymore, since a didn't test it.


Just put a Tapestry-Module-Classes entry in some JAR in your application  
classpath and Tapestry-IoC will take care of the rest. ;)


--
Thiago H. de Paula Figueiredo
Desenvolvedor, Instrutor e Consultor de Tecnologia
Eteg Tecnologia da Informação Ltda.
http://www.eteg.com.br

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] Service Module declaration

2007-09-06 Thread Francois Armand

Thiago H de Paula Figueiredo wrote:
On Thu, 06 Sep 2007 10:03:04 -0300, Francois Armand 
[EMAIL PROTECTED] wrote:


I saw that in a (old) thread : 
http://mail-archives.apache.org/mod_mbox/tapestry-users/200704.mbox/[EMAIL PROTECTED] 


But I can't tell you anymore, since a didn't test it.


Just put a Tapestry-Module-Classes entry in some JAR in your 
application classpath and Tapestry-IoC will take care of the rest. ;)



Yes, that is what the thread explains...

--
Francois Armand
Etudes  Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
---
InterLDAP - http://interldap.org 
FederID - http://www.federid.org/

Open Source identities management and federation


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] Service Module declaration

2007-09-06 Thread Kheldar666

Yes that's what I thought, but it is not very convinient...



Francois Armand wrote:
 
 Thiago H de Paula Figueiredo wrote:
 On Thu, 06 Sep 2007 10:03:04 -0300, Francois Armand 
 [EMAIL PROTECTED] wrote:

 I saw that in a (old) thread : 
 http://mail-archives.apache.org/mod_mbox/tapestry-users/200704.mbox/[EMAIL 
 PROTECTED] 

 But I can't tell you anymore, since a didn't test it.

 Just put a Tapestry-Module-Classes entry in some JAR in your 
 application classpath and Tapestry-IoC will take care of the rest. ;)

 Yes, that is what the thread explains...
 
 -- 
 Francois Armand
 Etudes  Développements J2EE
 Groupe Linagora - http://www.linagora.com
 Tél.: +33 (0)1 58 18 68 28
 ---
 InterLDAP - http://interldap.org 
 FederID - http://www.federid.org/
 Open Source identities management and federation
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/-T5--Service-Module-declaration-tf4391945.html#a12522874
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] Service Module declaration

2007-09-06 Thread Thiago H de Paula Figueiredo
On Thu, 06 Sep 2007 10:29:15 -0300, Francois Armand [EMAIL PROTECTED]  
wrote:



On Thu, 06 Sep 2007 10:03:04 -0300, Francois Armand



Yes, that is what the thread explains...


That thread talks about the manifest in a WAR file, and I was talking  
about the manifest in a JAR file. :) It makes all the difference.


And this is really convenient: I developed HiberTapestry  
(http://tapestry-mine.sourceforge.net/hibertapestry/) and, to use it, my  
application needs no configuration: having the HiberTapestry JAR in the  
classpath is all I need to do. Tapestry-IoC does the work of locating and  
loading it. My application doesn't have a compile dependency in  
HiberTapestry but it uses it. Just wonderful. :)


--
Thiago H. de Paula Figueiredo
Desenvolvedor, Instrutor e Consultor de Tecnologia
Eteg Tecnologia da Informação Ltda.
http://www.eteg.com.br

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] Service Module declaration

2007-09-06 Thread Francois Armand

Thiago H de Paula Figueiredo wrote:
That thread talks about the manifest in a WAR file, and I was talking 
about the manifest in a JAR file. :) It makes all the difference.


Well, no, the last message of the thread ( 
http://mail-archives.apache.org/mod_mbox/tapestry-users/200704.mbox/[EMAIL PROTECTED] 
) give the solution to create a jar with just a manifest and drop it in 
the classpath.

But we agree that it seems to be the solution :)


And this is really convenient: I developed HiberTapestry 
(http://tapestry-mine.sourceforge.net/hibertapestry/) and, to use it, 
my application needs no configuration: having the HiberTapestry JAR in 
the classpath is all I need to do. Tapestry-IoC does the work of 
locating and loading it. My application doesn't have a compile 
dependency in HiberTapestry but it uses it. Just wonderful. :) 

Intersting project, I missed it :)

--
Francois Armand
Etudes  Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
---
InterLDAP - http://interldap.org 
FederID - http://www.federid.org/

Open Source identities management and federation


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] Service Module declaration

2007-09-06 Thread Thiago H de Paula Figueiredo
On Thu, 06 Sep 2007 11:10:43 -0300, Francois Armand [EMAIL PROTECTED]  
wrote:



But we agree that it seems to be the solution :)


Yes! :)



And this is really convenient: I developed HiberTapestry  
(http://tapestry-mine.sourceforge.net/hibertapestry/) and, to use it,  
my application needs no configuration: having the HiberTapestry JAR in  
the classpath is all I need to do. Tapestry-IoC does the work of  
locating and loading it. My application doesn't have a compile  
dependency in HiberTapestry but it uses it. Just wonderful. :)

Intersting project, I missed it :)


Your feedback is always welcome. :)
I plan to release a new version, the sources and improved documentation  
soon.

I'm already using it in an internal project at my work. :)

--
Thiago H. de Paula Figueiredo
Desenvolvedor, Instrutor e Consultor de Tecnologia
Eteg Tecnologia da Informação Ltda.
http://www.eteg.com.br

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]