Closed GoogleCodeExporter closed 9 years ago
Try to use "link resource" to do this , create a linked folder in your web app
and target to your "generated-js" folder.
We do support eclipse link folder to work with RJR after 1.2.2 . (Reference:
Issue 60 .)
I think that's the most straightforward and convenient way to do this. :)
Here's a simple video demo for it.
http://screencast.com/t/Of00RCkR
Let me know if there's any issue, it's still very welcome to have any
suggestion.
Original comment by tonylovejava
on 16 Mar 2012 at 2:35
Wow, never heard about the "link resource" feature of Eclipse. Thank you! :)
Original comment by nistvan...@gmail.com
on 18 Mar 2012 at 8:28
I did the following:
- Made a folder link under src/main/webapp/ named generated-js to
'PROJECT_LOC/target/mysampleapp/generated-js' (mysampleapp is the artifactId of
my Maven project).
- In Eclipse i can browse the folder in the Package Explorer as expected.
- When i try to run the project with run-jetty-run i get this exception:
Exception in thread "main" java.lang.IllegalArgumentException:
runjettyrun.VirtualResource@c4bcdc is not an existing directory.
at org.eclipse.jetty.util.resource.ResourceCollection.<init>(ResourceCollection.java:80)
at runjettyrun.Bootstrap.initWebappContext(Bootstrap.java:149)
at runjettyrun.Bootstrap.main(Bootstrap.java:58)
Maybe run-jetty-run can't resolve Eclipse variables while parsing virtual
resources?
Original comment by nistvan...@gmail.com
on 18 Mar 2012 at 8:50
Yes , you are right , that's confirmed as a bug.
Please use absolute path first, I will fixed it soon.
Sorry for the inconvenience.
Original comment by tonylovejava
on 18 Mar 2012 at 1:31
Original comment by tonylovejava
on 18 Mar 2012 at 1:31
Fixed since 20120318 , will be in 1.4 .
Original comment by tonylovejava
on 18 Mar 2012 at 1:37
No problem :) Waiting for 1.4 then.
Original comment by nistvan...@gmail.com
on 18 Mar 2012 at 2:03
Original comment by tonylovejava
on 18 Mar 2012 at 2:40
What's the roadmap to release 1.4? Looks like this project stuck. :|
Original comment by nistvan...@gmail.com
on 30 Nov 2012 at 4:09
Would love that fix ... is the project still in dev?
Original comment by philippe.chretien@gmail.com
on 17 Dec 2013 at 4:32
Original issue reported on code.google.com by
nistvan...@gmail.com
on 16 Mar 2012 at 1:55