Looks like a JDK issue. Are you sure you were using 1.6? It can be
kind of hard to determine sometimes.
If you are feeling brave, there is this:
https://github.com/denuno/railobuild/downloads
Which has some built-in checks for JDK version (and better yet, does not
require a JDK-- a JRE should be enough (uses ECF compiler)).
Just download the zip and run the ./railobuild or railobuild.bat file.
jGit will download the sources, etc., and you can (theoretically) easily
pick the version to build (defaults to the latest 3.3).
HIH!
:Denny
--
Railo Technologies: getrailo.com Professional Open Source
Skype: valliantster (505)510.1336 de...@getrailo.com
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
Looks like a JDK issue. Are you sure you were using 1.6? It can be
kind of hard to determine sometimes.If you are feeling brave, there is this:
https://github.com/denuno/railobuild/downloads
Which has some built-in checks for JDK version (and better yet, does not
require a JDK-- a JRE should be enough (uses ECF compiler)).Just download the zip and run the ./railobuild or railobuild.bat file.
jGit will download the sources, etc., and you can (theoretically) easily
pick the version to build (defaults to the latest 3.3).HIH!
:Denny
--
Railo Technologies: getrailo.com Professional Open Source
Skype: valliantster (505)510.1336
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
Well poop on a stake! (to turn a phrase ;]) I was hoping that would
"just work" for ya. :(
It works for me on OS X and, last I tried, Ubuntu & Windows. And that
error looks like it can't find the js.jar that is there in the
build/ant/lib folder... gah.
Got any details on your environment that might help me finger it out?
I'm not sure what is going on (which isn't unusual, but still). =]
:Denny
--
Railo Technologies: getrailo.com Professional Open Source
Skype: valliantster (505)510.1336 de...@getrailo.com
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
Grrr! I have a whole little segment in there that's supposed to say
"hey, this needs java version X", X being whatever version is needed for
the build (we'll be running into this with 7 soon enough).
> thanks again :)
Thanks for trying it!
> ideally though, I'd like to be able to build the project in Eclipse so
> if you (or anyone) has an idea why I get the original error I reported
> it'd be great.
>
It totally rings a bell, but sadly that bell is "incorrect java
version", which perhaps is the wrong bell.
If it comes to me I'll holler. :)
:Denny
--
Railo Technologies: getrailo.com Professional Open Source
Skype: valliantster (505)510.1336 de...@getrailo.com
That's the idea. What did you think of the README? Feel free to
fork/edit it if you want!
I'd love to add an Eclipse portion, covering the debug-runner as well.
There's nothing like being able to click on a stack trace and have it
open the source file in the editor. :) I think we should have a video
of the whole process too.
> as a matter of fact my main purpose in trying to build this in Eclipse
> was so that I can improve the docs on building from source.
>
> also, it'd be nice if branch 3.2 could be removed from Github and then
> we'll know that JDK1.6 is the only version we need (until Railo Apollo,
> of course)
It is standard to keep at least tags of the various versions so that
people who (for whatever reason) are on older versions can see what is
going on in the version they're using. I know it seems silly that it
could be the case with an open source project which is so easy to
update, but there are reasons (usually involving management ;)).
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62
Thanks! I love jetty-runner! I slathered it with error checks to try
to avoid "ghost processes" if there is a build failure in that portion
of code, to make CI more bulletproof.
> the README is good albeit a little advanced. maybe after I get a better
> understanding of that build process I will have some suggestions for
> changes, but for the time being it seems pretty good.
Rock'n. Contributions are always welcome! The complete picture is too
big to fit in one page, I think we'll need to break the bits down and
use an index of topics, which we should pull from the wiki maybe (or at
least link up the content w/docs in github).
> being able to debug in an IDE like you suggested would be awesome! and
> there's definitely room for video tutorials. I was thinking of creating
> some myself and hopefully will get to that at some point in the near future.
>
> so is this build project planned to go into the main Railo project on
> Github?
That's the idea. We want it to be as painless as possible to get from
nothing, to pull requests. :)
> can it be used to build from local folders? say that I make some
> changes to code locally and then want to build it, is it possible with
> these scripts?
Totally! To be safe, commit your changes locally before running a
build, so they will be there even if you do a "forced checkout" (happens
when you specify a different branch or tag to build). The plain "build"
command won't check out anything if the source is already there (thus
builds after that first build are *much* faster =]).
:Denny
--
Railo Technologies: getrailo.com Professional Open Source
Skype: valliantster (505)510.1336 de...@getrailo.com
Ah! Now I remember that one (I think).
Which makes it even odder, because the problem is that the class in
question is an internal Sun class, which Eclipse doesn't have trouble
including (one of the reasons I like ECJ), but that Sun compilers can
have trouble including (and not always) because it doesn't import
correctly (and again, not always *shrug*).
Are you using custom compiler options in Eclipse? Maybe specified the
Sun compiler (javac) instead of the Eclipse compiler (ECJ)?
I think that would explain the troubles, and why the new build script
worked where the old one didn't (old one uses javac by default, though
you can configure Ant to use ECJ with some compiler properties).
For giggles, you could try importing the Railo projects into a new
Eclipse workspace, and see if things compile using the defaults... or
maybe just check your build options, and see what it's using now.