Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig >> mail # dev >> What do we need to change site documentation?


+
Jonathan Coveney 2013-02-19, 12:39
+
Alan Gates 2013-02-19, 15:07
Copy link to this message
-
Re: What do we need to change site documentation?
Hm, that's what I thought. Not sure why I'm having an issue then...I tried
to build it and it failed. I was able to successfully build the example
that came with forrest. Anyone seen something like this before?

$ ls ~/workspace/apache-forrest-0.9/
KEYS        LICENSE.txt    NOTICE.txt    README.txt    bin        build
    etc        index.html    lib        main        plugins
site-author    tools        whiteboard
[jonathancoveney@Jonathans-MacBook-Pro site]$ ant
-Dforrest.home=~/workspace/apache-forrest-0.9
Buildfile: /Users/jonathancoveney/workspace/pig_full/site/build.xml

clean:

forrest.check:

update:

BUILD FAILED
/Users/jonathancoveney/workspace/pig_full/site/build.xml:11: Execute
failed: java.io.IOException: Cannot run program
"~/workspace/apache-forrest-0.9/bin/forrest" (in directory
"/Users/jonathancoveney/workspace/pig_full/site/author"): error=2, No such
file or directory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
    at java.lang.Runtime.exec(Runtime.java:593)
    at
org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862)
    at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
    at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
    at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631)
    at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
    at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:390)
    at org.apache.tools.ant.Target.performTasks(Target.java:411)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    at org.apache.tools.ant.Main.runBuild(Main.java:809)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.IOException: error=2, No such file or directory
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
    at java.lang.ProcessImpl.start(ProcessImpl.java:91)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
    ... 24 more

Total time: 0 seconds

2013/2/19 Alan Gates <[EMAIL PROTECTED]>

> No, somebody fixed it a while ago so it works with java 6.  Just checkout
> pig/site, make your changes, build with "ant -Dforrest.home=<whatever>",
> view the changes locally under the publish directory, add any new files,
> and check in.  The publication from SVN to web is now automatic.  It all
> works fine with the default Java on my mac.
>
> Alan.
>
> On Feb 19, 2013, at 4:39 AM, Jonathan Coveney wrote:
>
> > I know we need forrest, but do we still need java 5?
>
>
+
Bill Graham 2013-02-19, 16:03
+
Jonathan Coveney 2013-02-19, 16:11
+
Bill Graham 2013-02-19, 16:28