Skip to main content

moving /resources

3 replies [Last post]
markkikken
Offline
Joined: 2008-01-30
Points: 0

I just had a problem moving jMaki resources from /resources to a project-specific folder in my java web-app (to avoid some religious comments on project-structure from other team-members).

Anyway, i had trouble doing this, even after i replaced every reference to /resources in several files with the new path location.

The taglib still uses the old path to bootstrap jMaki. After taking a peek at the sources, i found out that this behavior can be changed by setting a context-param in web.xml. So, in my case this came down to adding:

jmaki-resources
/scripts/jmaki

So, in stead of posting a question about this, i'll just post the answer; just in case this is helping somebody else...

Mark

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sgurusam
Offline
Joined: 2006-02-22
Points: 0

Thank you very much. This is what I was looking for.

But, where did you get source code of ajax-wrapper-comp-1.1.jar

Thanks
siva

gmurray71
Offline
Joined: 2003-07-31
Points: 0

https://ajax.dev.java.net/source/browse/ajax/

See:

/ws/jmaki/shared/src/java/

For the Java source code.

-Greg

gmurray71
Offline
Joined: 2003-07-31
Points: 0

Thank you so much for posting this.

We will try to get better about document these properties in the future.

-G