Hi John,
I found the reason, I should have though of this before. For
performance improvements, RIFE doesn't process its own classes for
metadata merging. The way it checks if a class is part of RIFE, is by
looking at the package (com.uwyn.rife), in that case the merging will
not occur. Since you placed your class there, this doesn't happen.
Thanks a lot for bringing this to my attention, I will change the
package structure of the Jumpstart so that people are not tempted to
use that package.
Best regards,
Geert
On 08 Oct 2006, at 08:44, John Lukar wrote:
Hi Geert,
attached is the gzipped file. You can also probably recreate this by
using the rife-jumpstart-1.5.1-jdk15.zip file from rifer.org and
just adding OrderData, OrderDataMetaData, Order, order.html and its
associatet Element configuration.
I tried that and still had the same issue.
the loaded full classpath from IDEA console is:
/opt/jdk1.5.0_07/bin/java -Djetty.home=.
-Drife.webapp.path=../src:../build/classes:../lib
-Didea.launcher.port=7574 -Didea.launcher.bin.path=/opt/idea-4267/bin
-Dfile.encoding=UTF-8 -classpath
/opt/jdk1.5.0_07/jre/lib/jce.jar:/opt/jdk1.5.0_07/jre/lib/
javaws.jar:/opt/jdk1.5.0_07/jre/lib/jsse.jar:/opt/jdk1.5.0_07/jre/
lib/deploy.jar:/opt/jdk1.5.0_07/jre/lib/charsets.jar:/opt/
jdk1.5.0_07/jre/lib/plugin.jar:/opt/jdk1.5.0_07/jre/lib/rt.jar:/opt/
jdk1.5.0_07/jre/lib/ext/sunjce_provider.jar:/opt/jdk1.5.0_07/jre/
lib/ext/sunpkcs11.jar:/opt/jdk1.5.0_07/jre/lib/ext/dnsns.jar:/opt/
jdk1.5.0_07/jre/lib/ext/localedata.jar:/tmp/jumpstart/rife-
jumpstart-1.5.1-jdk15/build/tests:/tmp/jumpstart/rife-
jumpstart-1.5.1-jdk15/build/classes:/tmp/jumpstart/rife-
jumpstart-1.5.1-jdk15/src:/tmp/jumpstart/rife-jumpstart-1.5.1-jdk15/
lib/xml-apis-2.7.1.jar:/tmp/jumpstart/rife-jumpstart-1.5.1-jdk15/
jetty-5.1.4/lib/javax.servlet.jar:/tmp/jumpstart/rife-
jumpstart-1.5.1-jdk15/lib/junit-3.8.1.jar:/tmp/jumpstart/rife-
jumpstart-1.5.1-jdk15/lib/xercesImpl-2.7.1.jar:/tmp/jumpstart/rife-
jumpstart-1.5.1-jdk15/lib/nekohtml-0.9.5.jar:/tmp/jumpstart/rife-
jumpstart-1.5.1-jdk15/lib/resolver-1.1.jar:/tmp/jumpstart/rife-
jumpstart-1.5.1-jdk15/jetty-5.1.4/ext/commons-logging.jar:/tmp/
jumpstart/rife-jumpstart-1.5.1-jdk15/jetty-5.1.4/lib/
org.mortbay.jetty.jar:/tmp/jumpstart/rife-jumpstart-1.5.1-jdk15/lib/
rife-crud-1.3.1-templates.jar:/tmp/jumpstart/rife-jumpstart-1.5.1-
jdk15/lib/rife-crud-1.3.1-jdk15.jar:/tmp/jumpstart/rife-
jumpstart-1.5.1-jdk15/lib/rife-1.5.1-jdk15.jar:/opt/idea-4267/lib/
idea_rt.jar
com.intellij.rt.execution.application.AppMain org.mortbay.jetty.Server
etc/jetty.xml
Let me know if there is anything else I should do.
meanwhile, I have switched over to using the demo2's idea project
version which works fine.
thanks much
J.
On 10/8/06, Geert Bevin <[EMAIL PROTECTED]> wrote:
Hi John,
would you mind sending a zip archive of your sources to me in private
so that I can look at it (it will be too much for the list)?
Don't worry about the resources directory and the other differences,
these are changes I made for the next release of the jumpstart since
many people commented that the previous directory structure wasn't
very intuitive for them. It doesn't matter for the setup.
It's almost 100% certain a classpath issue that you're having or the
rife.webapp.path that's not setup according to your project layout.
Best regards,
Geert
> I used the Jumpstart zip: rife-jumpstart-1.5.1-jdk15.zip to begin
> with.
>
> attached are two snap shots of the jar files and the order in which
> they are loaded by IntelliJ IDEA which I use. I used the idea
> project file included in jumpstart.
>
> I noticed your demo code has "resource" directory in classpath
which
> is not in the rife jumpstart I am using. I just have the "src"
path
> in the classpath which includes all template and xml config files
> along with the java files. Your demo project file has the
> template/config files seperately loaded than the java files. I
wonder
> if that is the problem. I will try that next.
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users
<rife-jumpstart-1.5.1-jdk15.tar.gz>
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users