You are viewing a plain text version of this content. The canonical link for it is here.
Posted to photark-dev@incubator.apache.org by Luciano Resende <lu...@gmail.com> on 2010/01/04 04:54:17 UTC

Re: Standalone PhotArk and duplicate UI resources

On Wed, Dec 30, 2009 at 5:22 AM, avdhesh .java <av...@gmail.com> wrote:
> On Tue, Dec 29, 2009 at 11:49 PM, Luciano Resende <lu...@gmail.com>wrote:
>
>> On Tue, Dec 29, 2009 at 7:29 AM, avdhesh .java <av...@gmail.com>
>> wrote:
>> > As per my Understanding we will have same UI for all versions(google apps
>> > engine ,  JCR).What differs is the underline implementations (filesystem
>> > based for google engine and JCR based)..We already have seperate project
>> for
>> > the implementation part..
>> >
>> > We already have  photark-webapps version for photark UI.
>> >
>>
>> What I think we might need in the future is :
>>
>> photark-webapp
>>   - this would be a full blow photark application and would be
>> suitable for deploying in a app server that does not impose
>> restrictions...
>>
>> photark-appengine-webapp
>>   - this would have dependency on the filesystem impl and the photark
>> ui, and the would have the necessary appengine configuration side
>> files etc
>>
>
> etc....
>>
>
> That means we have following projects.
>
> *photark* : Java Source
> *photark-ui* : front end for the gallery and albums
> *photark-admin-ui* : administation ui
> *photark-webapp*:   configuration side files for deployment on appserver e.g
> tomcat , jetty etc
> *photark-appengine-webapp*: configuration side files for deployment on the
> google apps engine
>
> I agree with these project.
>

I have implemented a a structure very similar to the one described
above. The photark-ui is actually a war, that gets overlayed to one of
the final photark application.

Please take a look and provide any feedback


-- 
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Re: Standalone PhotArk and duplicate UI resources

Posted by Luciano Resende <lu...@gmail.com>.
On Mon, Jan 4, 2010 at 4:46 AM, Avdhesh Yadav <av...@avdheshyadav.com> wrote:
> Hi...
>
>
> I have to add following dependency in order to deploy the webapps on tomcat
> otherwise i get
> SEVERE: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
>
> <dependency>
>            <groupId>org.slf4j</groupId>
>            <artifactId>slf4j-api</artifactId>
>            <version>1.3.0</version>
>        </dependency>
>
>        <dependency>
>            <groupId>org.slf4j</groupId>
>            <artifactId>slf4j-log4j12</artifactId>
>            <version>1.3.0</version>
>        </dependency>
>
>

Strange, I didn't need those, but I can take a look later...

> One Question:
> Why we are creating photark-ui.war ?.Is it required for the build process...
>
>

I guess this is required by maven to do the war overlay as you define
the dependency on a war (e.g the photark-ui) and it will overlay it to
the current war project (e.g one of the webapps).

-- 
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Re: Standalone PhotArk and duplicate UI resources

Posted by Avdhesh Yadav <av...@avdheshyadav.com>.
Hi...


I have to add following dependency in order to deploy the webapps on tomcat
otherwise i get
SEVERE: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

<dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.3.0</version>
        </dependency>

        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
            <version>1.3.0</version>
        </dependency>


One Question:
Why we are creating photark-ui.war ?.Is it required for the build process...


On Mon, Jan 4, 2010 at 10:24 AM, Luciano Resende <lu...@gmail.com>wrote:

> On Wed, Dec 30, 2009 at 5:22 AM, avdhesh .java <av...@gmail.com>
> wrote:
> > On Tue, Dec 29, 2009 at 11:49 PM, Luciano Resende <luckbr1975@gmail.com
> >wrote:
> >
> >> On Tue, Dec 29, 2009 at 7:29 AM, avdhesh .java <av...@gmail.com>
> >> wrote:
> >> > As per my Understanding we will have same UI for all versions(google
> apps
> >> > engine ,  JCR).What differs is the underline implementations
> (filesystem
> >> > based for google engine and JCR based)..We already have seperate
> project
> >> for
> >> > the implementation part..
> >> >
> >> > We already have  photark-webapps version for photark UI.
> >> >
> >>
> >> What I think we might need in the future is :
> >>
> >> photark-webapp
> >>   - this would be a full blow photark application and would be
> >> suitable for deploying in a app server that does not impose
> >> restrictions...
> >>
> >> photark-appengine-webapp
> >>   - this would have dependency on the filesystem impl and the photark
> >> ui, and the would have the necessary appengine configuration side
> >> files etc
> >>
> >
> > etc....
> >>
> >
> > That means we have following projects.
> >
> > *photark* : Java Source
> > *photark-ui* : front end for the gallery and albums
> > *photark-admin-ui* : administation ui
> > *photark-webapp*:   configuration side files for deployment on appserver
> e.g
> > tomcat , jetty etc
> > *photark-appengine-webapp*: configuration side files for deployment on
> the
> > google apps engine
> >
> > I agree with these project.
> >
>
> I have implemented a a structure very similar to the one described
> above. The photark-ui is actually a war, that gets overlayed to one of
> the final photark application.
>
> Please take a look and provide any feedback
>
>
> --
> Luciano Resende
> http://people.apache.org/~lresende <http://people.apache.org/%7Elresende>
> http://lresende.blogspot.com/
>