cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dariusz Borowski <d.borow...@web.de>
Subject Re: Cocoon Application structure | cocoon-app/WEB-INF/classes..
Date Wed, 22 Nov 2006 15:10:52 GMT
Hi!

Sorry, that was a mistake. my should stay for a package and in the second example there was
a mistake with too much dots!

Here it is again. The first one how it is right now and it works fine, but unfortunately not
my goal.

cocoon
...+-- cocoon-app                         (Folder the same level as 'WEB-INF')
...|..+-- conf                                  (Folder)
...|..+-- app                                  (Folder)
...|..+-- src                                    (Folder)
...|..+-- classes                             (Folder)
...+-- WEB-INF                              (Folder the same level as 'cocoon-app')
.........+-- classes                          (Folder)
............+-- com                            (Folder)
............+-- hibernate.cfg.xml        (File)
...............+-- my                           (Folder)
..................+-- package               (Folder)
.....................+-- app1.class         (File)
.....................+-- app2.class         (File)


This is how I would like to have it, but it doesn't work:

cocoon
+--cocoon-app
...+-- conf
...+-- app
...+-- src
...+-- classes
...+--WEB-INF
......+--- classes
.........+-- com
.........+-- hibernate.cfg.xml
............+--- my
...............+--- package
..................+-- app1.class
..................+-- app2.class

The sources should be located in the WEB-INF directory, where my application is and not in
the same level, where the WEB-INF directory of 'cocoon' is. That makes the development and
maintaining much easier.

Are they any changes within cocoon or my sitemap.xamp which are required for changing the
path to the 'application' - source?

Thanks,
Dariusz


> -----Ursprüngliche Nachricht-----
> Von: users@cocoon.apache.org
> Gesendet: 22.11.06 15:46:20
> An: users@cocoon.apache.org
> Betreff: Re: Cocoon Application structure | cocoon-app/WEB-INF/classes..


> Hi Dariusz,
> 
> could you explain some more what you are trying to achieve? 
> 
> > My cocoon structure is as follows:
> > 
> > cocoon
> > +--cocoon-app
> > ...+--- conf
> > ...+--- app
> > ...+--- src
> > ...+--- classes
> > ...+--WEB-INF
> > ......+--- classes
> > .........+-- com
> > .........+-- hibernate.cfg.xml
> > ............+--- my
> > ...............+--- app1.class
> > ...............+--- app2.class
> 
> what about these last three? are they supposed to be beneath hibernate?? 
> or are these two classes within package "my"
>  
> > 
> > But I would like to have it like this one:
> > 
> > cocoon
> > ...+--cocoon-app
> > ......+--- conf
> > ......+--- app
> > ......+--- src
> > ......+--- classes
> > ......+-- WEB-INF
> > .........+-- classes
> > ............+-- com
> > ............+-- hibernate.cfg.xml
> > ...............+--- my
> > ..................+--- app1.class
> > .....................+--- app2.class
> 
> same question as before, are they inside hibernate? if not (which i would 
> assume), then you are missing a package declaration for app2.class...
> However, both app?.class would still be in the same webapp and could 
> therefore call eachother. 
> 
> Jan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 


______________________________________________________________________________
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!


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


Mime
View raw message