Skip to main content

HDCookBook build errors

12 replies [Last post]
thomas_fogh
Offline
Joined: 2008-07-29

I've set up my Eclipse according to the NetBlender Wikipaper: (http://dostudio.netblender.com/wikipapers/hdcookbookwitheclipse.asp)
And changed the vars.properties file:
HDC_BDJ_PLATFORM_CLASSES=C:/svn/java/HDCookbookEclipseWorkspace/HDCookbook/lib/btclasses.zip
HDC_DISC_BDMV=C:/svn/java/HDCookbookEclipseWorkspace/HDCookbook/BDMV
but I still get errors when compiling the HDCookbook\build.xml (se below).

If someone could help me out, I would really appreciate it...
BR, Thomas Fogh

<br />
Buildfile: C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\build.xml<br />
check-stubs:<br />
bd-tools-hdcookbook:<br />
bdtools-hdcookbook-example:<br />
bdjo-init:<br />
     [echo] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\tools\bdjo\build<br />
bdjo-compile:<br />
    [javac] Compiling 1 source file to C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\tools\bdjo\build<br />
bdjo-dist:<br />
prepare:<br />
compile:<br />
deploy:<br />
all:<br />
init:<br />
compile:<br />
jar:<br />
init:<br />
compile:<br />
jar:<br />
init:<br />
compile:<br />
jar:<br />
init:<br />
compile:<br />
jar:<br />
main:<br />
init-xlet-dirs:<br />
set-javac:<br />
set-java-assert:<br />
set-java-noassert:<br />
set-debugger-base:<br />
set-grinview-java-debugger:<br />
set-grinview-java-nodebugger:<br />
set-grinview-java:<br />
set-grincompiler-java-debugger:<br />
set-grincompiler-java-nodebugger:<br />
set-grincompiler-java:<br />
set-java:<br />
init-preset-defs:<br />
init-grin-me-library:<br />
compile-me-library:<br />
[xlets.javac] Compiling 53 source files to C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\build\library<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\Show.java:70: package java.awt does not exist<br />
[xlets.javac] import java.awt.Component;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\Show.java:71: package java.awt does not exist<br />
[xlets.javac] import java.awt.Cursor;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\Show.java:72: package java.awt does not exist<br />
[xlets.javac] import java.awt.Graphics2D;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationClient.java:59: package java.awt does not exist<br />
[xlets.javac] import java.awt.Graphics2D;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationClient.java:60: package java.awt does not exist<br />
[xlets.javac] import java.awt.Component;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\Show.java:97: cannot find symbol<br />
[xlets.javac] symbol  : class Component<br />
[xlets.javac] location: class com.hdcookbook.grin.Show<br />
[xlets.javac] public Component component;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\ShowInitializer.java:59: package java.awt does not exist<br />
[xlets.javac] import java.awt.AlphaComposite;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\Segment.java:67: package java.awt does not exist<br />
[xlets.javac] import java.awt.Graphics2D;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\Feature.java:64: package java.awt does not exist<br />
[xlets.javac] import java.awt.Graphics2D;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\Show.java:183: cannot find symbol<br />
[xlets.javac] symbol  : class Component<br />
[xlets.javac] location: class com.hdcookbook.grin.Show<br />
[xlets.javac] public void initialize(Component component) {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RenderContext.java:58: package java.awt does not exist<br />
[xlets.javac] import java.awt.Rectangle;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\Show.java:502: cannot find symbol<br />
[xlets.javac] symbol  : class Graphics2D<br />
[xlets.javac] location: class com.hdcookbook.grin.Show<br />
[xlets.javac] public synchronized void paintFrame(Graphics2D gr)<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationClient.java:79: cannot find symbol<br />
[xlets.javac] symbol  : class Component<br />
[xlets.javac] location: interface com.hdcookbook.grin.animator.AnimationClient<br />
[xlets.javac] public void initialize(Component component)<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationClient.java:207: cannot find symbol<br />
[xlets.javac] symbol  : class Graphics2D<br />
[xlets.javac] location: interface com.hdcookbook.grin.animator.AnimationClient<br />
[xlets.javac] public void paintFrame(Graphics2D gr)<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\ShowInitializer.java:92: cannot find symbol<br />
[xlets.javac] symbol  : class AlphaComposite<br />
[xlets.javac] location: class com.hdcookbook.grin.ShowInitializer<br />
[xlets.javac] public synchronized AlphaComposite getAlpha(boolean srcOver, int alpha) {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\Segment.java:300: cannot find symbol<br />
[xlets.javac] symbol  : class Graphics2D<br />
[xlets.javac] location: class com.hdcookbook.grin.Segment<br />
[xlets.javac] void paintFrame(Graphics2D gr) {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\input\RCKeyEvent.java:64: package java.awt does not exist<br />
[xlets.javac] import java.awt.Color;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\input\RCKeyEvent.java:65: package java.awt.event does not exist<br />
[xlets.javac] import java.awt.event.KeyEvent;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\io\binary\GrinDataInputStream.java:63: package java.awt does not exist<br />
[xlets.javac] import java.awt.Color;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\io\binary\GrinDataInputStream.java:64: package java.awt does not exist<br />
[xlets.javac] import java.awt.Font;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\io\binary\GrinDataInputStream.java:65: package java.awt does not exist<br />
[xlets.javac] import java.awt.Rectangle;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\Feature.java:292: cannot find symbol<br />
[xlets.javac] symbol  : class Graphics2D<br />
[xlets.javac] location: class com.hdcookbook.grin.Feature<br />
[xlets.javac] public abstract void paintFrame(Graphics2D gr);<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DrawRecord.java:58: package java.awt does not exist<br />
[xlets.javac] import java.awt.Rectangle;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\io\binary\GrinBinaryReader.java:60: package java.awt does not exist<br />
[xlets.javac] import java.awt.Rectangle;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\io\binary\GrinDataInputStream.java:98: cannot find symbol<br />
[xlets.javac] symbol  : class Color<br />
[xlets.javac] location: class com.hdcookbook.grin.io.binary.GrinDataInputStream<br />
[xlets.javac] public Color readColor() throws IOException {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\io\binary\GrinDataInputStream.java:116: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.io.binary.GrinDataInputStream<br />
[xlets.javac] public Rectangle readRectangle() throws IOException {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\io\binary\GrinDataInputStream.java:133: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.io.binary.GrinDataInputStream<br />
[xlets.javac] public Rectangle[] readRectangleArray() throws IOException {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\io\binary\GrinDataInputStream.java:151: cannot find symbol<br />
[xlets.javac] symbol  : class Font<br />
[xlets.javac] location: class com.hdcookbook.grin.io.binary.GrinDataInputStream<br />
[xlets.javac] public Font readFont() throws IOException {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\io\binary\GrinDataInputStream.java:191: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.io.binary.GrinDataInputStream<br />
[xlets.javac] public Rectangle[] readSharedRectangleArray() throws IOException {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\io\binary\GrinDataInputStream.java:196: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.io.binary.GrinDataInputStream<br />
[xlets.javac] public Rectangle readSharedRectangle() throws IOException {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DrawRecord.java:227: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.DrawRecord<br />
[xlets.javac] void applyGuarantee(Rectangle area) {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DrawRecord.java:298: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.DrawRecord<br />
[xlets.javac] void addAreaTo(Rectangle drawTarget) {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DrawRecord.java:333: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.DrawRecord<br />
[xlets.javac] void eraseLastFrame(Rectangle drawTarget) {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DrawRecord.java:342: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.DrawRecord<br />
[xlets.javac] private void addToRect(Rectangle r, int x, int y, int width, int height) {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\io\binary\GrinBinaryReader.java:175: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.io.binary.GrinBinaryReader<br />
[xlets.javac] private Rectangle[] rectangleConstants;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\io\binary\GrinBinaryReader.java:176: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.io.binary.GrinBinaryReader<br />
[xlets.javac] private Rectangle[][] rectangleArrayConstants;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\io\binary\GrinBinaryReader.java:272: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.io.binary.GrinBinaryReader<br />
[xlets.javac] Rectangle getRectangleFromReference(int index) throws IOException {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\io\binary\GrinBinaryReader.java:280: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.io.binary.GrinBinaryReader<br />
[xlets.javac] Rectangle[] getRectangleArrayFromReference(int index) throws IOException {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\io\binary\GrinBinaryReader.java:448: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.io.binary.GrinBinaryReader<br />
[xlets.javac] private Rectangle[] readRectangleConstants(GrinDataInputStream in)<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\io\binary\GrinBinaryReader.java:468: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.io.binary.GrinBinaryReader<br />
[xlets.javac] private Rectangle[][] readRectangleArrayConstants(GrinDataInputStream in)<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationContext.java:59: package java.awt does not exist<br />
[xlets.javac] import java.awt.AlphaComposite;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationContext.java:60: package java.awt does not exist<br />
[xlets.javac] import java.awt.Color;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationContext.java:61: package java.awt does not exist<br />
[xlets.javac] import java.awt.Component;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationContext.java:62: package java.awt does not exist<br />
[xlets.javac] import java.awt.Container;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationContext.java:63: package java.awt does not exist<br />
[xlets.javac] import java.awt.Graphics2D;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationContext.java:64: package java.awt does not exist<br />
[xlets.javac] import java.awt.Rectangle;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationEngine.java:59: package java.awt does not exist<br />
[xlets.javac] import java.awt.AlphaComposite;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationEngine.java:60: package java.awt does not exist<br />
[xlets.javac] import java.awt.Color;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationEngine.java:61: package java.awt does not exist<br />
[xlets.javac] import java.awt.Component;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationEngine.java:62: package java.awt does not exist<br />
[xlets.javac] import java.awt.Container;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationEngine.java:63: package java.awt does not exist<br />
[xlets.javac] import java.awt.Graphics2D;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationEngine.java:64: package java.awt does not exist<br />
[xlets.javac] import java.awt.Rectangle;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationEngine.java:79: cannot find symbol<br />
[xlets.javac] symbol  : class Color<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.AnimationEngine<br />
[xlets.javac] public final static Color transparent = new Color(0, 0, 0, 0);<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RenderContextBase.java:60: package java.awt does not exist<br />
[xlets.javac] import java.awt.Rectangle;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationEngine.java:100: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.AnimationEngine<br />
[xlets.javac] private Rectangle lastClip = new Rectangle(); // see paintFrame<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationEngine.java:173: cannot find symbol<br />
[xlets.javac] symbol  : class Container<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.AnimationEngine<br />
[xlets.javac] public abstract void initContainer(Container container, Rectangle bounds);<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationEngine.java:173: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.AnimationEngine<br />
[xlets.javac] public abstract void initContainer(Container container, Rectangle bounds);<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationEngine.java:200: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.AnimationEngine<br />
[xlets.javac] protected Rectangle[] getEraseTargets() {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationEngine.java:215: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.AnimationEngine<br />
[xlets.javac] protected Rectangle[] getDrawTargets() {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationEngine.java:262: cannot find symbol<br />
[xlets.javac] symbol  : class Component<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.AnimationEngine<br />
[xlets.javac] public abstract Component getComponent();<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationEngine.java:611: cannot find symbol<br />
[xlets.javac] symbol  : class Graphics2D<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.AnimationEngine<br />
[xlets.javac] protected final void paintTargets(Graphics2D g)<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationEngine.java:640: cannot find symbol<br />
[xlets.javac] symbol  : class Graphics2D<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.AnimationEngine<br />
[xlets.javac] protected final void paintFrame(Graphics2D g) throws InterruptedException {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\AnimationEngine.java:658: cannot find symbol<br />
[xlets.javac] symbol  : class Graphics2D<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.AnimationEngine<br />
[xlets.javac] public void repaintFrame(Graphics2D g) throws InterruptedException {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RenderContextBase.java:75: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.RenderContextBase<br />
[xlets.javac] Rectangle[] drawTargets;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RenderContextBase.java:82: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.RenderContextBase<br />
[xlets.javac] Rectangle[] eraseTargets;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RenderContextBase.java:89: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.RenderContextBase<br />
[xlets.javac] private Rectangle collapsed = new Rectangle();<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RenderContextBase.java:120: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.RenderContextBase<br />
[xlets.javac] private Rectangle[] newRectArray(int n) {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RenderContextBase.java:240: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.RenderContextBase<br />
[xlets.javac] static void setEmpty(Rectangle r) {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RenderContextBase.java:245: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.RenderContextBase<br />
[xlets.javac] static boolean isEmpty(Rectangle r) {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RenderContextBase.java:266: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.RenderContextBase<br />
[xlets.javac] private int collapseTargets(Rectangle[] targets) {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RenderContextBase.java:345: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.RenderContextBase<br />
[xlets.javac] private int purgeEmpty(Rectangle[] targets, int num) {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DirectDrawEngine.java:60: package java.awt does not exist<br />
[xlets.javac] import java.awt.AlphaComposite;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DirectDrawEngine.java:61: package java.awt does not exist<br />
[xlets.javac] import java.awt.Container;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DirectDrawEngine.java:62: package java.awt does not exist<br />
[xlets.javac] import java.awt.Component;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DirectDrawEngine.java:63: package java.awt does not exist<br />
[xlets.javac] import java.awt.Graphics;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DirectDrawEngine.java:64: package java.awt does not exist<br />
[xlets.javac] import java.awt.Graphics2D;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DirectDrawEngine.java:65: package java.awt does not exist<br />
[xlets.javac] import java.awt.Rectangle;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DirectDrawEngine.java:66: package java.awt does not exist<br />
[xlets.javac] import java.awt.Toolkit;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DirectDrawEngine.java:67: package java.awt does not exist<br />
[xlets.javac] import java.awt.Image;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DirectDrawEngine.java:92: cannot find symbol<br />
[xlets.javac] symbol  : class Container<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.DirectDrawEngine<br />
[xlets.javac] private Container container;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DirectDrawEngine.java:93: cannot find symbol<br />
[xlets.javac] symbol  : class Component<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.DirectDrawEngine<br />
[xlets.javac] private Component ddComponent;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DirectDrawEngine.java:94: cannot find symbol<br />
[xlets.javac] symbol  : class Image<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.DirectDrawEngine<br />
[xlets.javac] private Image buffer;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DirectDrawEngine.java:95: cannot find symbol<br />
[xlets.javac] symbol  : class Graphics2D<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.DirectDrawEngine<br />
[xlets.javac] private Graphics2D bufferG;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DirectDrawEngine.java:96: cannot find symbol<br />
[xlets.javac] symbol  : class Graphics2D<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.DirectDrawEngine<br />
[xlets.javac] private Graphics2D componentG;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DirectDrawEngine.java:108: cannot find symbol<br />
[xlets.javac] symbol  : class Container<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.DirectDrawEngine<br />
[xlets.javac] public void initContainer(Container container, Rectangle bounds) {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DirectDrawEngine.java:108: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.DirectDrawEngine<br />
[xlets.javac] public void initContainer(Container container, Rectangle bounds) {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\DirectDrawEngine.java:159: cannot find symbol<br />
[xlets.javac] symbol  : class Component<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.DirectDrawEngine<br />
[xlets.javac] public Component getComponent() {<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RepaintDrawEngine.java:60: package java.awt does not exist<br />
[xlets.javac] import java.awt.AlphaComposite;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RepaintDrawEngine.java:61: package java.awt does not exist<br />
[xlets.javac] import java.awt.Container;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RepaintDrawEngine.java:62: package java.awt does not exist<br />
[xlets.javac] import java.awt.Component;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RepaintDrawEngine.java:63: package java.awt does not exist<br />
[xlets.javac] import java.awt.Graphics;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RepaintDrawEngine.java:64: package java.awt does not exist<br />
[xlets.javac] import java.awt.Graphics2D;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RepaintDrawEngine.java:65: package java.awt does not exist<br />
[xlets.javac] import java.awt.Rectangle;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RepaintDrawEngine.java:66: package java.awt does not exist<br />
[xlets.javac] import java.awt.Toolkit;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RepaintDrawEngine.java:67: package java.awt does not exist<br />
[xlets.javac] import java.awt.Image;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RepaintDrawEngine.java:94: cannot find symbol<br />
[xlets.javac] symbol  : class Container<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.RepaintDrawEngine<br />
[xlets.javac] private Container container;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RepaintDrawEngine.java:95: cannot find symbol<br />
[xlets.javac] symbol  : class Component<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.RepaintDrawEngine<br />
[xlets.javac] private Component rdComponent;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RepaintDrawEngine.java:96: cannot find symbol<br />
[xlets.javac] symbol  : class Rectangle<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.RepaintDrawEngine<br />
[xlets.javac] private Rectangle bounds;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RepaintDrawEngine.java:97: cannot find symbol<br />
[xlets.javac] symbol  : class Image<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.RepaintDrawEngine<br />
[xlets.javac] private Image buffer = null;<br />
[xlets.javac] ^<br />
[xlets.javac] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\library\src\com\hdcookbook\grin\animator\RepaintDrawEngine.java:98: cannot find symbol<br />
[xlets.javac] symbol  : class Graphics2D<br />
[xlets.javac] location: class com.hdcookbook.grin.animator.RepaintDrawEngine<br />
[xlets.javac] private Graphics2D bufferG = null;<br />
[xlets.javac] ^<br />
[xlets.javac] 100 errors</p>
<p>BUILD FAILED<br />
C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\build.xml:11: The following error occurred while executing this line:<br />
C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\buildscripts\ant\build_library.xml:43: Compile failed; see the compiler error output for details.</p>
<p>Total time: 2 seconds<br />

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
thomas_fogh
Offline
Joined: 2008-07-29

Thanks, both of you!
I'll try this when I get back from holiday...
BR, Thomas

daddyhop
Offline
Joined: 2006-05-05

I can confirm what Chihiro said. The BDJ.jar from PowerDVD does not contain all the classes needed to compile BD-J applications. It needs 2 Jars from the Personal Basis Profile:

Personal Basis Profile 1.1 Reference Implementation (JSR 217)
http://java.sun.com/javame/downloads/index.jsp

The 2 jars are located in the pbp-1_1-fr-ri.zip file:
1. Optimized_nosym/lib/basis.jar
2. Optimized_nosym/lib/btclasses.zip

Thanks,

Bruce

thomas_fogh
Offline
Joined: 2008-07-29

I've combined the btclasses.zip from PowerDVD and the Personal Basic Profile and added the basis.jar to my lib directory.
I can see in my Eclipse project that the basis.jar contains the missing AWT classes, but I'm still getting the same build errors. Probably because there's missing a reference to the file in the vars.properties.
How do I add it?

chihiro_saito
Offline
Joined: 2006-11-08

It's best if you combine everything into a single jar or zip. JDK comes with a "jar" tool to do this. Also jar files' structure is build over zip structure, so one should be able to change .jar to .zip extension and use a standard zip utility to combine all three.

Ant uses a path separator for multiple files (see below) but this will not work with the latest hdcookbook build structure.
http://ant.apache.org/manual/using.html#path

Chihiro

thomas_fogh
Offline
Joined: 2008-07-29

Thanks, I'm getting closer now. :)
But still a few issues:

[code]
Buildfile: C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\build.xml
check-stubs:
bd-tools-hdcookbook:
bdtools-hdcookbook-example:
bdjo-init:
[echo] C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\tools\bdjo\build
bdjo-compile:
[javac] Compiling 1 source file to C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\tools\bdjo\build
bdjo-dist:
prepare:
compile:
deploy:
all:
init:
compile:
jar:
init:
compile:
jar:
init:
compile:
jar:
init:
compile:
jar:
main:
init-xlet-dirs:
set-javac:
set-java-assert:
set-java-noassert:
set-debugger-base:
set-grinview-java-debugger:
set-grinview-java-nodebugger:
set-grinview-java:
set-grincompiler-java-debugger:
set-grincompiler-java-nodebugger:
set-grincompiler-java:
set-java:
init-preset-defs:
init-grin-me-library:
compile-me-library:
build-monitor-xlet:
build-game-xlet:
copy-menu-assets:
[copy] Copying 3 files to C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\build\xlets\menuassets
init-grin-compiler:
init-grin-jdk-library:
compile-jdk-library:
compile-grin-compiler:
compile-extension-reader:
init-grinview:
compile-grinview:
generate-binary-script:
[jdktools.java] Loaded image Graphics/Menu/Load_0000.png
[jdktools.java] Loaded image Graphics/Menu/Load_0001.png
[jdktools.java] Loaded image Graphics/Menu/Load_0002.png
[jdktools.java] Loaded image Graphics/Menu/Load_0003.png
[jdktools.java] Loaded image Graphics/Menu/Load_0004.png
[jdktools.java] Loaded image Graphics/Menu/Load_0005.png
[jdktools.java] Loaded image Graphics/Menu/Load_0006.png
[jdktools.java] Loaded image Graphics/Menu/Load_0007.png
[jdktools.java] Loaded image Graphics/Menu/Play_N.png
[jdktools.java] Loaded image Graphics/Menu/Play_S.png
[jdktools.java] Loaded image Graphics/Menu/Play_A.png
[jdktools.java] Loaded image Graphics/Menu/Setup_N.png
[jdktools.java] Loaded image Graphics/Menu/Setup_S.png
[jdktools.java] Loaded image Graphics/Menu/Setup_A.png
[jdktools.java] Loaded image Graphics/Menu/Scenes_N.png
[jdktools.java] Loaded image Graphics/Menu/Scenes_S.png
[jdktools.java] Loaded image Graphics/Menu/Scenes_A.png
[jdktools.java] Loaded image Graphics/Menu/Bonus_N.png
[jdktools.java] Loaded image Graphics/Menu/Bonus_S.png
[jdktools.java] Loaded image Graphics/Menu/Bonus_A.png
[jdktools.java] Loaded image Graphics/Menu/Close_N.png
[jdktools.java] Loaded image Graphics/Menu/Close_S.png
[jdktools.java] Loaded image Graphics/Menu/Close_A.png
[jdktools.java] Loaded image Graphics/Menu/Setup_Audio_BG.png
[jdktools.java] Loaded image Graphics/Menu/Setup_Subtitles_BG.png
[jdktools.java] Loaded image Graphics/Menu/Audio1_N.png
[jdktools.java] Loaded image Graphics/Menu/Audio1_S.png
[jdktools.java] Loaded image Graphics/Menu/Audio2_N.png
[jdktools.java] Loaded image Graphics/Menu/Audio2_S.png
[jdktools.java] Loaded image Graphics/Menu/Subtitle1_N.png
[jdktools.java] Loaded image Graphics/Menu/Subtitle1_S.png
[jdktools.java] Loaded image Graphics/Menu/Subtitle2_N.png
[jdktools.java] Loaded image Graphics/Menu/Subtitle2_S.png
[jdktools.java] Loaded image Graphics/Menu/Subtitle3_N.png
[jdktools.java] Loaded image Graphics/Menu/Subtitle3_S.png
[jdktools.java] Loaded image Graphics/Menu/Scene_1.png
[jdktools.java] Loaded image Graphics/Menu/Scene_2.png
[jdktools.java] Loaded image Graphics/Menu/Scene_3.png
[jdktools.java] Loaded image Graphics/Menu/Scene_4.png
[jdktools.java] Loaded image Graphics/Menu/Scene_5.png
[jdktools.java] Loaded image Graphics/Menu/Scene_N.png
[jdktools.java] Loaded image Graphics/Menu/Bookmarks_N.png
[jdktools.java] Loaded image Graphics/Menu/Scene_S.png
[jdktools.java] Loaded image Graphics/Menu/Bookmarks_S.png
[jdktools.java] Loaded image Graphics/Menu/Bookmark_Film_N.png
[jdktools.java] Loaded image Graphics/Menu/Bookmark_Film_S.png
[jdktools.java] Loaded image Graphics/Menu/Game_N.png
[jdktools.java] Loaded image Graphics/Menu/Game_S.png
[jdktools.java] Loaded image Graphics/Menu/Bio_N.png
[jdktools.java] Loaded image Graphics/Menu/Bio_S.png
[jdktools.java] Loaded image Graphics/Menu/Bonus1_N.png
[jdktools.java] Loaded image Graphics/Menu/Bonus1_S.png
[jdktools.java] Loaded image Graphics/Menu/Bookmark_Snap.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_A_N.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_A_S.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_A_A.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_B_N.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_B_S.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_B_A.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_D_N.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_D_S.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_D_A.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_H_N.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_H_S.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_H_A.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_L_N.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_L_S.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_L_A.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_R_N.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_R_S.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_R_A.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_U_N.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_U_S.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_U_A.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_V_N.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_V_S.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_V_A.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_Y_N.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_Y_S.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_Y_A.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_Enter_N.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_Enter_S.png
[jdktools.java] Loaded image Graphics/UserInput/Letter_Enter_A.png
[jdktools.java] Loaded image Graphics/Network/bio00000_img.png
[jdktools.java] Loaded image Graphics/Network/Download_N.png
[jdktools.java] Loaded image Graphics/Network/Download_S.png
[jdktools.java] Loaded image Graphics/Network/Close_N.png
[jdktools.java] Loaded image Graphics/Network/Close_S.png
[jdktools.java] 2 mosaics created.
[jdktools.java] Wrote build\xlets\menuassets\m2.png
[jdktools.java] Wrote build\xlets\menuassets\m1.png
[jdktools.java] Wrote build\xlets\menuassets\images.map
[jdktools.java] Mosaics occupy a total of 1.798.554 pixels.
[move] Moving 1 file to C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\build\xlets\menu_generated\grinview\com\hdcookbook\bookmenu\menu\commands
[move] Moving 1 file to C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\build\xlets\menu_generated\xlet\com\hdcookbook\bookmenu\menu\commands
[jdktools.javac] Compiling 1 source file to C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\build\xlets\menu_generated\grinview
build-menu-assets:
[move] Moving 1 file to C:\svn\java\HDCookbookEclipseWorkspace\HDCookbook\BDMV\AUXDATA
[move] Moving 1 file to C:\svn\java\HDCookbookEclipseWorkspace\HDCookbook\BDMV\AUXDATA
[move] Moving 1 file to C:\svn\java\HDCookbookEclipseWorkspace\HDCookbook\BDMV\AUXDATA
[jar] Building jar: C:\svn\java\HDCookbookEclipseWorkspace\HDCookbook\BDMV\JAR\00004.jar
build-menu-xlet:
[xlets.javac] Compiling 1 source file to C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\build\xlets\menuxlet\classes
[jar] Building jar: C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\build\xlets\menuxlet\00002.jar
[copy] Copying 1 file to C:\svn\java\HDCookbookEclipseWorkspace\HDCookbook\BDMV\JAR
sign-xlets:
check-bdsigner:
sign-xlets:
[jdktools.java] Certificate stored in file
[jdktools.java] Starting the verfication for certificate file:app.discroot.crt
[jdktools.java] Checking the certiticate
[jdktools.java] Done with the verification for the certificate file:app.discroot.crt
[jdktools.java] Certification request stored in file
[jdktools.java] Submit this to your CA
[jdktools.java] Writing cert to appcert.cer.
[jdktools.java] Certificate reply was installed in keystore
[jdktools.java] [Storing keystore.store]
[jdktools.java] Starting the verfication for certificate file:appcert.cer
[jdktools.java] Checking the certiticate
[jdktools.java] Done with the verification for the certificate file:appcert.cer
[jdktools.java] Certificate stored in file
[jdktools.java] Starting the verfication for certificate file:app.discroot.crt
[jdktools.java] Checking the certiticate
[jdktools.java] Done with the verification for the certificate file:app.discroot.crt
[jdktools.java] Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/JarSigner
[jdktools.java] at net.java.bd.tools.security.SecurityUtil.signJarFile(SecurityUtil.java:506)
[jdktools.java] at net.java.bd.tools.security.SecurityUtil.signJars(SecurityUtil.java:401)
[jdktools.java] at net.java.bd.tools.security.BDSigner.main(BDSigner.java:130)

BUILD FAILED
C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\build.xml:11: The following error occurred while executing this line:
C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\buildscripts\ant\build_hdcookbook_xlets.xml:188: The following error occurred while executing this line:
C:\svn\java\HDCookbookEclipseWorkspace\HDCookBook\grin\buildscripts\ant\build_bdjo_security.xml:71: Java returned: 1
[/code]

sundararajana
Offline
Joined: 2004-05-26

From the stack trace fragment, you have:

[jdktools.java] Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/JarSigner
[jdktools.java] at net.java.bd.tools.security.SecurityUtil.signJarFile(SecurityUtil.java:506)
[jdktools.java] at net.java.bd.tools.security.SecurityUtil.signJars(SecurityUtil.java:401)
[jdktools.java] at net.java.bd.tools.security.BDSigner.main(BDSigner.java:130)

Can you make sure that you are building with Sun's JDK 6 (or update releases of JDK 6)? You may want to check the output of "java -version". This is because the "bdsigner" tool refers to certain classes in Sun's JDK.

thomas_fogh
Offline
Joined: 2008-07-29

Output of "java -version":
[code]
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
[/code]

chihiro_saito
Offline
Joined: 2006-11-08

Hi Thomas,

I suggest you to do a "svn update" before proceeding further, since the repository's build structure got updated a while ago. It seems to me that you're still using the old structure.

As for the sign-xlets error, JarSigner class should be available in:

where "java.home" should be your jdk directory. Running ant with "-v" (verbose) option gives you more build output, which will probably help you in figuring out what's not being found in your build environment.

Chihiro

thomas_fogh
Offline
Joined: 2008-07-29

I did the svn update and checked the tools.jar. Still the same problem.
I gave up figuring out how to add the -v option to Ant in Eclipse and installed NetBeans.
Opened the project and rebuild everything.....BUILD SUCCESSFUL!
Now I just need to figure out how to use NetBeans. :)
I thought it would be possible to test the xlets on the pc, but I can't figure out how...

chihiro_saito
Offline
Joined: 2006-11-08

Hi Thomas,

This is a strange error. Could you please confirm that your btclasses.zip at
C:/svn/java/HDCookbookEclipseWorkspace/HDCookbook/lib/btclasses.zip

contains java.awt.* class files?

Thanks,
Chihiro

thomas_fogh
Offline
Joined: 2008-07-29

If the files are supposed to be called awt*.class then it doesn't. (Sorry, I'm new to java)
I took the btclasses.zip from PowerDVD. I guess I need to find a different one...
Thanks!
BR, Thomas Fogh

chihiro_saito
Offline
Joined: 2006-11-08

Hi Thomas,

java.awt.* classes should look like this. Of course the class size and the dates do not need to match.

$ jar tvf NavFilter/lib/basis_security.jar | grep java/awt | more
0 Thu Jan 10 16:17:22 PST 2008 java/awt/
3281 Thu Jan 10 16:17:22 PST 2008 java/awt/LightweightDispatcher.class
11947 Thu Jan 10 16:17:22 PST 2008 java/awt/Window.class
15892 Thu Jan 10 16:17:22 PST 2008 java/awt/Container.class
214 Thu Jan 10 16:17:22 PST 2008 java/awt/Component$AWTTreeLock.class
717 Thu Jan 10 16:17:22 PST 2008 java/awt/Component$1.class
30253 Thu Jan 10 16:17:22 PST 2008 java/awt/Component.class
0 Thu Jan 10 16:17:22 PST 2008 java/awt/image/
396 Thu Jan 10 16:17:22 PST 2008 java/awt/image/ImageObserver.class
3447 Thu Jan 10 16:17:22 PST 2008 java/awt/image/ColorModel.class
286 Thu Jan 10 16:17:22 PST 2008 java/awt/image/ImageProducer.class
820 Thu Jan 10 16:17:22 PST 2008 java/awt/image/VolatileImage.class
2183 Thu Jan 10 16:17:22 PST 2008 java/awt/image/BufferedImage.class
723 Thu Jan 10 16:17:22 PST 2008 java/awt/image/ImageConsumer.class
2279 Thu Jan 10 16:17:22 PST 2008 java/awt/image/AreaAveragingScaleFilter.clas
s
2239 Thu Jan 10 16:17:22 PST 2008 java/awt/image/ReplicateScaleFilter.class

... Goes on and on, cutting ...

I believe that if you're trying to make bdjclasses.zip from PowerDVD, then there isn't one file that contains everything. You'd need to combine a few jar and zip files to create a reasonably complete BD-J stack, I think.

In case this helps, the list of java packages for BD-J platform are roughly the followings.

=== start list ========================
java.awt
java.awt.color
java.awt.event
java.awt.image
java.beans
java.io
java.lang
java.lang.ref
java.lang.reflect
java.math
java.net
java.rmi
java.rmi.registry
java.security
java.security.acl
java.security.cert
java.security.interfaces
java.security.spec
java.text
java.text.resources
java.util
java.util.jar
java.util.zip
javax.media
javax.media.protocol
javax.microedition.io
javax.microedition.xlet
javax.microedition.xlet.ixc
javax.tv.graphics
javax.tv.locator
javax.tv.media
javax.tv.net
javax.tv.service
javax.tv.service.guide
javax.tv.service.navigation
javax.tv.service.selection
javax.tv.service.transport
javax.tv.util
javax.tv.xlet
org.bluray.application
org.bluray.media
org.bluray.net
org.bluray.storage
org.bluray.system
org.bluray.ti
org.bluray.ti.selection
org.bluray.ui
org.bluray.ui.event
org.davic.media
org.davic.mpeg
org.davic.net
org.davic.resources
org.dvb.application
org.dvb.dsmcc
org.dvb.event
org.dvb.io.ixc
org.dvb.io.persistent
org.dvb.lang
org.dvb.media
org.dvb.net
org.dvb.test
org.dvb.ui
org.dvb.user
org.havi.ui
org.havi.ui.event
=== end list ========================

Chihiro