pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger L. Whitcomb" <Roger.Whitc...@actian.com>
Subject RE: Help with Pivot 2.1 build error
Date Thu, 13 Sep 2012 23:49:08 GMT
Sandro could probably tell us more, but if you poke around the
"build.xml", where is it expecting the "plugin.jar" will be located?  Is
the classpath set correctly, either beforehand or in the "build.xml"?


~Roger Whitcomb


From: Greg Brannon [mailto:greg.d.brannon@gmail.com] 
Sent: Thursday, September 13, 2012 4:40 PM
To: user@pivot.apache.org
Subject: Help with Pivot 2.1 build error


Okay, I give up. Any idea why I'm getting the following build error and
how to solve?

I have JDK 1.7u7b10 installed.


If it's not clear, the necessary .jar files are in the classpath and
appear to be found,

but the method JSObject.getWindow() is not found. If I pull the file

BrowserApplicationContext.java into Eclipse and adjust the package and
imports, pointing

to the same plugin.jar file, the method is found.


As always, thanks for your help and sorry to be a pain.



$ ant install

Buildfile: /home/greg/Programming/gitclones/pivot-2.1-dev/build.xml






[echo] Compile environment for pivot-2.1.0 is:

[echo] show deprecation true

[echo] debug true

[echo] source 1.6, target 1.6

[echo] encoding UTF-8

[echo] indexJars true

[echo] arg -Xlint


[echo] Java environment: home at
'/home/greg/Programming/Java/jdk1.7.0x64/jre', version 1.7.0_07




[mkdir] Created dir:

[javac] Compiling 134 source files to

[javac] warning: [options] bootstrap class path not set in conjunction
with -source 1.6

[javac] 1 warning



[mkdir] Created dir:

[javac] Compiling 397 source files to

[javac] warning: [options] bootstrap class path not set in conjunction
with -source 1.6

wtk/BrowserApplicationContext.java:378: error: cannot find symbol

[javac] JSObject window = JSObject.getWindow(applicationHostApplet);

[javac] ^

[javac] symbol: method getWindow(HostApplet)

[javac] location: class JSObject

[javac] 1 error

[javac] 1 warning



/home/greg/Programming/gitclones/pivot-2.1-dev/build.xml:525: The
following error occurred while executing this line:

/home/greg/Programming/gitclones/pivot-2.1-dev/build.xml:145: Compile
failed; see the compiler error output for details.

View raw message