Hi randy, Thanks for your response! I found the reason, that is all my fault, I got my env messed up by using the wrong build.properties.
Sorry for the bother :-) regards, - Jian Liao On 2/15/06, Randy Watler <[EMAIL PROTECTED]> wrote: > > Jian, > > I am guessing that your maven plugin is confused... i believe it is > supposed to be copying the OJB configurations into the jetspeed webapp > AFTER it is expanded in tomcat webapps or the geronimo equivalent. So, i > dont think these resources are supposed to be in the packaged war file. > I am not sure about the history involved here... i did not follow that > approach for maven2... they are in the war file in that case. > > There is a Log4j.properties file in the WEB-INF/conf directory... i am > fairly sure that one is used... not the one in /etc/log4j... that one is > for tests IIRC. > > You can try using initMavenPlugin target to get your plugin updated. > > HTH, > > Randy > > On Wed, 2006-02-15 at 11:12 +0800, Jian Liao wrote: > > Hi randy, > > I mean Maven-1. I am not sure if this problem is just for my env. The > > following is my patch. > > === project-info.xml > > ================================================================== > > --- project-info.xml (revision 9399) > > +++ project-info.xml (local) > > @@ -161,6 +161,20 @@ > > <exclude>**/*.java</exclude> > > </excludes> > > </resource> > > + <resource> > > + <directory>etc/log4j</directory> > > + <includes> > > + <include>*.properties</include> > > + </includes> > > + </resource> > > + <resource> > > + <directory>etc/db-ojb</directory> > > + <includes> > > + <include>*.xml</include> > > + <include>*.dtd</include> > > + <include>*.properties</include> > > + </includes> > > + </resource> > > </resources> > > > > <unitTest> > > > > thanks, > > - Jian Liao > > > > On 2/15/06, Randy Watler < [EMAIL PROTECTED]> wrote: > > Jian, > > > > Are you using Maven1 or Maven2 builds? If I could see your > > patch... that > > would be helpful :-). > > > > I am having problems getting the attachments. Might be my > > email reader, > > (evolution here on linux), but I have not received any > > attachments from > > the last few emails you have sent. > > > > We have made some significant cleanups in the Maven2 build... > > have you > > tried to build using that recently? > > > > Randy > > > > On Tue, 2006-02-14 at 18:35 +0800, Jian Liao wrote: > > > Hi, > > > I check out j2 svn head and the build process is smooth. But > > when I > > > start tomcat-5.5.12, it report a FileNotFoundException and > > start fail. > > > IIUC it is caused by OJB and log4j configuration files not > > copied from > > > src/etc/db-ojb, src/etc/log4j to > > jetspeed.war/WEB-INF/classes. > > > Has anyone encounter this problem? Attachment is a patch for > > it. > > > > > > -- > > > thanks, > > > - Jian Liao > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > > -- > > thanks, > > - Jian Liao > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- thanks, - Jian Liao
