Comments (8)
First of all, I assume you know that jetty-run will run the demo app that's
online.
Anyway, the problem is that reactive-{core,web}-api are symlinks to the API
docs. So the link target doesn't exist until you run the doc task.
Also, if you're on Windows you might not be able to make it work --- I
haven't tried. If you can get sbt to copy the files to the right place
without using symlinks, let me know.
Also, IIRC the error doesn't prevent it from running, it just means that the
API docs links won't work, no?
On Wed, May 25, 2011 at 3:49 PM, andreasW <
[email protected]>wrote:
"reactive" looks great! I tried cloning the repository and running with
"sbt jetty-run", and I get the following:java.lang.IllegalArgumentException: requirement failed: Source file
'/home/andreas/Documents/Source/trunk/reactive/reactive-web-demo/src/main/webapp/reactive-web-api'
does not exist.Presumably a file that got missed checking in?
Cheers,
Andreas
Reply to this email directly or view it on GitHub:
#6
from reactive.
It did in fact prevent the app from running, for me, anyway. The error I
mentioned was followed by a stack trace and Jetty was not run. Since I did
not find a tutorial listing the exact commands needed, I assumed sbt update
and jetty-run would do the trick. Sadly, they did not. I am using Ubuntu,
and a recently installed sbt (0.7.4).
I find that if you want to encourage users, it helps to have the simplest
thing "just work", or else provide very specific instructions somewhere.
Probably I just missed those :-)
Anyway, building the "doc" target first, as you suggested, did the trick and
I have the demo up and running. I love your on-line documentation, buy the
way, but I was missing a live example to disect. I have that now :-) Making
the demo the documentation and the documentation the demo is a stroke of
genius.
Thanks!
Andreas
On Wed, May 25, 2011 at 5:17 PM, nafg <
[email protected]>wrote:
First of all, I assume you know that jetty-run will run the demo app that's
online.
Anyway, the problem is that reactive-{core,web}-api are symlinks to the API
docs. So the link target doesn't exist until you run the doc task.
Also, if you're on Windows you might not be able to make it work --- I
haven't tried. If you can get sbt to copy the files to the right place
without using symlinks, let me know.
Also, IIRC the error doesn't prevent it from running, it just means that
the
API docs links won't work, no?On Wed, May 25, 2011 at 3:49 PM, andreasW <
[email protected]>wrote:"reactive" looks great! I tried cloning the repository and running with
"sbt jetty-run", and I get the following:java.lang.IllegalArgumentException: requirement failed: Source file
'/home/andreas/Documents/Source/trunk/reactive/reactive-web-demo/src/main/webapp/reactive-web-api'
does not exist.Presumably a file that got missed checking in?
Cheers,
Andreas
Reply to this email directly or view it on GitHub:
#6Reply to this email directly or view it on GitHub:
#6 (comment)
from reactive.
You're right. I should add a section to the Getting Started page about
running the demo.
If you want you can send a pull request or just file a ticket for that
change.
Enjoy, and looking forward to feedback!
On Wed, May 25, 2011 at 8:15 PM, andreasW <
[email protected]>wrote:
It did in fact prevent the app from running, for me, anyway. The error I
mentioned was followed by a stack trace and Jetty was not run. Since I did
not find a tutorial listing the exact commands needed, I assumed sbt update
and jetty-run would do the trick. Sadly, they did not. I am using Ubuntu,
and a recently installed sbt (0.7.4).I find that if you want to encourage users, it helps to have the simplest
thing "just work", or else provide very specific instructions somewhere.
Probably I just missed those :-)Anyway, building the "doc" target first, as you suggested, did the trick
and
I have the demo up and running. I love your on-line documentation, buy the
way, but I was missing a live example to disect. I have that now :-) Making
the demo the documentation and the documentation the demo is a stroke of
genius.Thanks!
Andreas
On Wed, May 25, 2011 at 5:17 PM, nafg <
[email protected]>wrote:First of all, I assume you know that jetty-run will run the demo app
that's
online.
Anyway, the problem is that reactive-{core,web}-api are symlinks to the
API
docs. So the link target doesn't exist until you run the doc task.
Also, if you're on Windows you might not be able to make it work --- I
haven't tried. If you can get sbt to copy the files to the right place
without using symlinks, let me know.
Also, IIRC the error doesn't prevent it from running, it just means that
the
API docs links won't work, no?On Wed, May 25, 2011 at 3:49 PM, andreasW <
[email protected]>wrote:"reactive" looks great! I tried cloning the repository and running with
"sbt jetty-run", and I get the following:java.lang.IllegalArgumentException: requirement failed: Source file
'/home/andreas/Documents/Source/trunk/reactive/reactive-web-demo/src/main/webapp/reactive-web-api'
does not exist.
Presumably a file that got missed checking in?
Cheers,
Andreas
Reply to this email directly or view it on GitHub:
#6Reply to this email directly or view it on GitHub:
#6 (comment)Reply to this email directly or view it on GitHub:
#6 (comment)
from reactive.
Well, I guess this is a ticket...
Anyway, perhaps a better idea is to just make the jetty-run (or package/prepare-webapp) task dependent on the doc task. If anyone knows offhand how to do that, please comment, otherwise I'll have to look into it when I have the chance G-d willing.
from reactive.
Seems to work:
git clone git://github.com/nafg/reactive.git
sbt 'project reactive-web-demo' container:start ~compile
from reactive.
Looks like this is pretty old, but now I'm running into similar issues. I'm on Windows, so the symlinks for the various different scala versions appear to my system as plain text files. So nothing will compile, since it's missing references to the Compat object. I'll take a stab at trying to make them work without resorting to symlinks... expect a pull request soon! :)
from reactive.
Thanks! Looking forward!
I assume you'll do it via sbt config, right?
On Mon, Apr 15, 2013 at 8:58 PM, Dylan Halperin [email protected]:
Looks like this is pretty old, but now I'm running into similar issues.
I'm on Windows, so the symlinks for the various different scala versions
appear to my system as plain text files. I'll take a stab at trying to make
them work without resorting to symlinks... expect a pull request soon! :)—
Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-16421018
.
from reactive.
Yeah, I've currently got something working by defining a resolveDirs
function in the main Build.scala file. I'll commit/push to my fork soon.
from reactive.
Related Issues (20)
- Link in github description is dead
- Scala 2.10.x support? HOT 4
- Discuss: finite event streams, event data type
- Signal.filter
- Demo is broken due to Lift context path issues
- Decouple browser communication mechanisms HOT 1
- Post announcements about the Reactive google group
- Ajax connected cues HOT 1
- Side nav
- Make more shorter pages, with demos on actual page
- Macro-based javascript HOT 1
- Split out more modules HOT 1
- Better table editor architecture
- Site broken again HOT 3
- Customizable javascript heartbeat response to dead page HOT 2
- Customizable before-ajax and after-ajax hooks HOT 2
- Implement Scheduler similar to RxJava
- EventStream should use ADT under the hood, similar to Bacon, support finiteness (end)
- Fix error message text HOT 1
- Build for scala 2.11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reactive.