| From | Sent On | Attachments |
|---|---|---|
| Sean Schofield | Jan 21, 2005 6:10 am | |
| James Mitchell | Jan 21, 2005 7:09 am | |
| James Mitchell | Jan 21, 2005 7:13 am | |
| Sean Schofield | Jan 21, 2005 7:18 am | |
| James Mitchell | Jan 21, 2005 8:49 am | |
| Craig McClanahan | Jan 21, 2005 9:12 am |
| Subject: | Re: [shale] Problems with mail reader | |
|---|---|---|
| From: | James Mitchell (jmit...@apache.org) | |
| Date: | Jan 21, 2005 8:49:45 am | |
| List: | org.apache.struts.dev | |
Ok, here's what I just checked in...
- deprecated maven target (current/apps) "apps:build-all", use "dist"
In shuffling the mailreader example apps around, the package naming was changed. I have locally modified the sandbox/struts-shale-mailreader sources so that everything builds now with Ant, but these changes will break Craig's nightly build.
Also, I couldn't find a struts.jar or struts-core.jar property or classpath entry in the build.xml for the shale mailreader app. I'm not sure how Craig's build is referencing them, but adding it allows me to:
current/sandbox/struts-shale-mailreader > ant dist
I *have not* committed the changes to shale mailreader sources. Since I can't see or change Craig's build for shale stuff, here is what I did:
http://cvs.apache.org/~jmitchell/svn-diff.txt
I haven't tried it with myfaces, but jsfri works for me. Here's my user.home/build.properties:
# ---- struts-core -------
compile.deprecation = true apache.home = D:/home/jmitchell/apache_home maven.repo = C:/Documents and Settings/jmitchell/.maven/repository
commons-beanutils.jar = ${maven.repo}/commons-beanutils/jars/commons-beanutils-1.7.0.jar commons-digester.jar = ${maven.repo}/commons-digester/jars/commons-digester-1.6.jar commons-fileupload.jar = ${maven.repo}/commons-fileupload/jars/commons-fileupload-1.0.jar commons-logging.jar = ${maven.repo}/commons-logging/jars/commons-logging-1.0.4.jar commons-validator.jar = ${maven.repo}/commons-validator/jars/commons-validator-1.1.3.jar jakarta-oro.jar = ${maven.repo}/oro/jars/oro-2.0.7.jar servlet.jar = ${maven.repo}/servletapi/jars/servletapi-2.3.jar xerces.jar = ${maven.repo}/xml-apis/jars/xml-apis-2.0.2.jar antlr.jar = ${maven.repo}/antlr/jars/antlr-2.7.2.jar
#checkstyle.jar = /Java/checkstyle-2.4/checkstyle-all-2.4.jar #pmd.home = /Java/Programs/SourceForge/pmd-1.2.1
chain.home = ${maven.repo}/commons-chain/jars commons-chain.jar = ${chain.home}/commons-chain-1.0.jar
# needed for struts-shale commons-collections.jar = ${maven.repo}/commons-collections/jars/commons-collections-3.1.jar #jsf.home = ${maven.repo}/jsf/jars/jsf-1_1_01 struts.jar = ${maven.repo}/struts/jars/struts-1.3.0-dev.jar jsf-api.jar = ${maven.repo}/jsf/jars/jsf-api-1.1.jar jsf-impl-1.1 = ${maven.repo}/jsf/jars/jsf-impl-1.1.jar mailreader.jar = ${maven.repo}/struts/jars/struts-mailreader-1.3.0-dev.jar servlet-api.jar = ${maven.repo}/servletapi/jars/servletapi-2.4-20040521.jar jsp-api.jar = ${maven.repo}/jspapi/jars/jsp-api-2.0-20040521.jar
-- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx
----- Original Message ----- From: "Sean Schofield" <sean...@gmail.com> To: "Struts Developers List" <de...@struts.apache.org> Sent: Friday, January 21, 2005 10:18 AM Subject: Re: [shale] Problems with mail reader
OK. And thanks again for all of the work reorganizing things. I'm definitely not trying to rush you, just trying to understand where things are.
sean
On Fri, 21 Jan 2005 10:13:56 -0500, James Mitchell <jmit...@apache.org> wrote:
Sorry, I got so caught up in explaining things I didn't realize you we were supposed to be talking about the shale mailreader app.
I haven't looked very deeply at this one yet. Give me a few minutes.
-- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx
----- Original Message ----- From: "James Mitchell" <jmit...@apache.org> To: "Struts Developers List" <de...@struts.apache.org> Sent: Friday, January 21, 2005 10:09 AM Subject: Re: [shale] Problems with mail reader
The ant build for the mailreader apps has not been updated yet (in progress). This is a moving target, so don't plan on doing this for a week or more. I'm moving as fast as I can.
As an alternative for now, you can build all of the apps with Maven. Installing Maven is trivial, it's the same as installing Ant. Once you do that, (assuming you have the svn client already installed and did a co on the 'current' pseudo branch of Struts) you can build core, taglib, and then apps.
Like this: (from "current") cd core ant dist (this generates the .tld and copies needed files for apps) maven jar:install cd ../taglib maven jar:install cd ../apps svn up (I just committed a small fix to the taglib dependency....my fault, sorry) maven apps:build-all
This builds 3 apps (so far) blank mailreader examples
each subproject has a target where you'll find what you need.
I run the webapps straight from where they are built...like this (part of my conf/server.xml in tomcat)
... ... <Context path="/mailreader"
docBase="D:/cygwin/home/jmitchell/svn/struts/current/apps/shared/target/mailreader"
debug="0"/>
<Context path="/blank"
docBase="D:/cygwin/home/jmitchell/svn/struts/current/apps/blank/target/blank" debug="0"/>
<Context path="/examples"
docBase="D:/cygwin/home/jmitchell/svn/struts/current/apps/examples/target/examples"
debug="0"/>
...
...
There is still a lot of work to do on the repository. I am moving as fast as time allows.
I do want to thank you for trying things out, this really helps us iron out issues like this.
-- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx
----- Original Message ----- From: "Sean Schofield" <sean...@gmail.com> To: "Struts Developers List" <de...@struts.apache.org> Sent: Friday, January 21, 2005 9:10 AM Subject: [shale] Problems with mail reader
I'm having troule running the nightly build of mailreader (which doesn't seem to be beeing built nightly.) Also, I'm having trouble building the mailreader myself from the current source. I seem to recall there was some reorganization with the mailreader going on.
Ant is looking for a mailreader.jar file. Where can I find this? Is it something that I have to build from the main struts project?
Any help (or the WAR file itself) would be appreciated.
Thanks, sean





