Giter Club home page Giter Club logo

spring-resource-handling's People

Contributors

axmf avatar bclozel avatar gdrouet avatar liebowitz avatar rstoyanchev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spring-resource-handling's Issues

Example for velocity

There is no example for velocity. I need to know how to rewrite urls in velocity using ResourceUrlEncodingFilter. I accessed like scores of resources online, but none of them gave example with velocity despite spring docs stating that it is auto-configured for velocity. Could you provide an example?

testng version is missing in build.gradle

When you import this project with BuildShip into STS it does not succeed and shows an error message because of missing version for testng

diff --git a/server/build.gradle b/server/build.gradle
index d5ac0cc..db8d308 100644
--- a/server/build.gradle
+++ b/server/build.gradle
@@ -64,7 +64,7 @@ dependencies {
   compile("org.codehaus.groovy:groovy-all")
 
   testCompile("org.springframework.boot:spring-boot-starter-test")
-  testCompile("org.testng:testng")
+  testCompile("org.testng:testng:6.10")
 }
 
 compileJava.dependsOn(processResources)

build failure with gulp

When building the project the build fails in the client module. I have reduced the error to executing 'gulp optimize-and-copy-css' inside the client directory. I get the following error:

[20:39:34] Using gulpfile ~/git/spring-resource-handling/client/gulpfile.js
[20:39:34] Starting 'optimize-and-copy-css'...

events.js:85
throw er; // Unhandled 'error' event
^
Error: Broken @import declaration of "/home/mkoch/git/spring-resource-handling/client/src/lib/github/twbs/[email protected]/css/bootstrap.css"

Somehow I can't find where this error is thrown actually.

Is there some dependenc I miss?

missing script: jspm

Sorry, my english is pool

I want try build this project
run "SPRING_PROFILES_ACTIVE=development RESOURCES_PROJECTROOT=pwd ./gradlew :server:bootRun"

but, npm ERR occurred.
below text is contents of the npm-debug.log

0 info it worked if it ends with ok
1 verbose cli [ 'node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'run',
1 verbose cli 'jspm',
1 verbose cli 'config registries.github.auth',
1 verbose cli 'null' ]
2 info using [email protected]
3 info using [email protected]
4 verbose stack Error: missing script: jspm
4 verbose stack at run (/usr/local/lib/node_modules/npm/lib/run-script.js:142:19)
4 verbose stack at /usr/local/lib/node_modules/npm/lib/run-script.js:58:5
4 verbose stack at /usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:345:5
4 verbose stack at checkBinReferences_ (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:309:45)
4 verbose stack at final (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:343:3)
4 verbose stack at then (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:113:5)
4 verbose stack at /usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:284:20
4 verbose stack at evalmachine.:263:20
4 verbose stack at OpenReq.Req.done (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:141:5)
4 verbose stack at OpenReq.done (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:61:22)
5 verbose cwd /Users/ruaa/dev/ruaa/spring-resource-handling-master/client
6 error Darwin 14.3.0
7 error argv "node" "/usr/local/bin/npm" "run" "jspm" "config registries.github.auth" "null"
8 error node v0.12.5
9 error npm v2.11.2
10 error missing script: jspm
11 error If you need help, you may report this error at:
11 error https://github.com/npm/npm/issues
12 verbose exit [ 1, true ]

Please, I need help

StringIndexOutOfBoundsException after setting a contextPath

Hi,
I've downloaded the project to test the ResourceUrlEncodingFilter and it works as expected, however, if I set a Server Context Path in the application.yml, I'm getting a java.lang.StringIndexOutOfBoundsException. This is happening when I'm trying to render an empty url with some params. An example for this scenario could be when you want to render an URL that changes the current locale using the LocaleChangeInterceptor and render the same page again.

I've forked this project and reproduced the problem in the hellojsp view. Is this an issue or am I missing something?

Thanks,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.