struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <hus...@apache.org>
Subject Re: SmartURLs (fork of s2: problem with codebehind plugin)
Date Fri, 07 Sep 2007 15:42:59 GMT
It wanted "smarturls.action.packages" to be set to something that
existed. An empty string also seems to work.

I was walking through the walk through, and so I hadn't created a
package folder before creating my first page.

It seems to be working now, so now I can play some more :)

-Ted.

On 9/7/07, Brian Pontarelli <brian@pontarelli.com> wrote:
>
>
>  I'm using a few other things from that package.
>
>  You are probably right though - reducing dependencies to put it into core
> is best. I'll work on moving those files over today.
>
>  What issues are you having? I could probably fix them pretty quickly.
>
>  I'll definitely get an example or two completed so that we can include
> those with core as well. I'll get those in the ZIP today.
>
>  -bp
>
>  Ted Husted wrote:
>  Can you also post a WAR with the hello-world page. I'm still having
> trouble getting it to run here.
>
> I don't know if it would be part of rolling back or not, but it might
> also be helpful to extract the URLClassLoaderResolver from the other
> JAR, rather than pull the whole thing along for the sake of one class,
> and then we would include Inversoft in the NOTICE.TXT.
>
> -Ted.
>
> On 9/7/07, Brian Pontarelli <brian@pontarelli.com> wrote:
>
>
>  Okay, the ZIP file is out there and contains the JAR , source JAR and
> Java.net Commons JAR. This should be deployable just via extraction. As for
> the JDK 1.6, I'm working on reverting that now. Although I have to say JAXB
> right in the JDK and unmarshalling with like 2 lines of code will be missed
> :( I think getting this into core is more valuable. hehe
>
>  I'll email when it is JDK 1.5 compatible. Should be about 30 minutes to an
> hour with unit tests, unless I get caught up in something else.
>
>  -bp
>
>
>  Brian Pontarelli wrote:
>  Sorry for the late reply to everyone. I've been super busy.
>
>  The project uses a build system called Vertigo-Ant to make it simpler to
> download deps and such. It is something we use at Texturemedia and makes
> this project simpler. I can point you to that project if you want to build
> it.
>
>  As for JDK 1.6, it is required right now, but only for component support
> for JAXB parsing. I'm planning on changing that out for the next release to
> use JDK 1.5 and SAX.
>
>  The URLClassLoaderResolver thing comes from Java.net Commons. I recently
> added a dependency (didn't used to have any) and forgot to update the
> project release to build a zip file with all the deps in it. I'll do that
> today. You can grab the latest version of Java.net commons from the project
> home:
>
>  https://java-net-commons.dev.java.net
>
>  The latest version is 1.3.11.
>
>  I'll have the ZIP file ready to use for the SmartURLs plugin today. Should
> only take 10-15 minutes to complete.
>
>  -bp
>
>  Ted Husted wrote:
>  I tried building it from source, using 1.6, under Eclipse, and the
> problem is that a dependency on
> "net.java.lang.URLClassLoaderResolver"
> was introduced between ".05" and .14 in the DefaultResultMapBuilder. I
>
> In the build.xml and IntelliJ files there are a number of dependencies
> on various products. I tried to check a few of those, like Savant, but
> I didn't see the needed class.
>
> -Ted.
>
> On 9/7/07, Jim Cushing <jimothy@mac.com> wrote:
>
>
>  It looks like the plugin requires Java 1.6; I have tried running it
> under 1.6 yet, but that may be the issue.
>
> On Sep 6, 2007, at 7:53 PM, Ted Husted wrote:
>
>
>
>  When deploying the SmartUrls plugin, my system is unable to find
> the class
>
>  net.java.lang.URLClassLoaderResolver;
>
> I tried to google it without success.
>
> Can anyone tell me where this class might be found?
>
> It's used by the DefaultResultMapBuilder class.
>
> -Ted.
>
> On 9/6/07, Ted Husted <husted@apache.org> wrote:
>
>
>  On 9/4/07, Brian Pontarelli <brian@pontarelli.com> wrote:
>
>
>  BTW, I'm planning on releasing 1.0 of SmartURLs this week and
> doing some
> announcements to lists and such. Are these still plans on pulling
> that back
> into core?
>
>  I'm trying out 0.14 now.
>
> Should there be any problem trying it in an application that already
> has some content, like the Blank application? Or is it either-or?
>
> -Ted.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
>
>
>


-- 
HTH, Ted <http://www.husted.com/ted/blog/>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message