on 12-09-2008 11:54 AM
i have developed a java development component. I am using eSWT controls in it. The basic idea is to create a swt control which can be embedded into webdynpro mobile. But thats the later part. i am getting buildd errors for the library files when i try ot build the development component.
This is not during regular building project. When i chosse development component and then build from the context menu (right click) fo project it gives me these errors.
i have pasted the log details. Please guide me as to what the problem is.
Development Component Build (2008-12-09 16:58:40 GMT+05:30)
Component name: sign
Component vendor: demo.sap.com
SC compartment: MyComponents
Configuration: LocalDevelopment
Location: localDevelopment
Source code location: ic009689@bomwsap718
DC root folder: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\
DC type: Java
Host: bomwsap718
DC Model check:
DC is available locally
validating dependency to build plugin "sap.com/tc/bi/bp/javaLib"
DC model check OK
Start build plugin:
using build plugin: sap.com/tc/bi/bp/javaLib
starting build plugin from : C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\SAP_BUILDT\sap.com\tc\bi\bp\javaLib\_comp\gen\default\public\saplib\
Build Plugin 'JavaPlugin', Version 7.10 SP 3 (710_VAL_REL, built on 2007-10-30 21:31:37 +0100, CL74218)
development component: sign (demo.sap.com)
software component: MyComponents (demo.sap.com)
location: localDevelopment
type: Java
build variant: default
source location: ic009689@bomwsap718
output location: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\t2\7D7F8D51826A5D53E1B9D02BF244D87A\default
generation folder: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\t\7D7F8D51826A5D53E1B9D02BF244D87A
plugin start time: 2008-12-09 16:58:40 GMT+05:30
Java VM: Java HotSpot(TM) Client VM, 1.5.0_15-b04 (Sun Microsystems Inc.)
General options:
convert *.xlf to *.properties: yes
include sources for debugging: yes
Checking path lengths for sources
Path length checks finished in 0 seconds
Preparing data context..
Data context preparation finished in 0 seconds
Creating Ant build file..
Creating output file: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\t2\7D7F8D51826A5D53E1B9D02BF244D87A\default\logs\build.xml
Using macro file: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\SAP_BUILDT\sap.com\tc\bi\bp\javaLib\_comp\gen\default\public\saplib\macros\build.vm
Build file creation finished in 0.063 seconds
Starting Ant..
Using build file: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\t2\7D7F8D51826A5D53E1B9D02BF244D87A\default\logs\build.xml
Using build target: build
Using Ant version: 1.6.4
compile:
[echo] Starting Java compiler
[echo] Settings:
[echo] debug: on
[echo] optimize: off
[echo] deprecation: default
[echo] verbose: default
[echo] encoding: UTF8
[echo] source: default
[echo] target: default
[echo] source path: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src
[echo] class path: none
[echo] output dir: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\t\7D7F8D51826A5D53E1B9D02BF244D87A\classes
[javac] Compiling 2 source files to C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\t\7D7F8D51826A5D53E1B9D02BF244D87A\classes
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:10: package org.eclipse.swt does not exist
[javac] ERROR: import org.eclipse.swt.SWT;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:11: package org.eclipse.swt.events does not exist
[javac] ERROR: import org.eclipse.swt.events.MouseEvent;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:12: package org.eclipse.swt.events does not exist
[javac] ERROR: import org.eclipse.swt.events.MouseListener;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:13: package org.eclipse.swt.events does not exist
[javac] ERROR: import org.eclipse.swt.events.PaintEvent;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:14: package org.eclipse.swt.events does not exist
[javac] ERROR: import org.eclipse.swt.events.PaintListener;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:15: package org.eclipse.swt.events does not exist
[javac] ERROR: import org.eclipse.swt.events.SelectionEvent;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:16: package org.eclipse.swt.events does not exist
[javac] ERROR: import org.eclipse.swt.events.SelectionListener;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:17: package org.eclipse.swt.graphics does not exist
[javac] ERROR: import org.eclipse.swt.graphics.Color;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:18: package org.eclipse.swt.graphics does not exist
[javac] ERROR: import org.eclipse.swt.graphics.GC;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:19: package org.eclipse.swt.graphics does not exist
[javac] ERROR: import org.eclipse.swt.graphics.Image;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:20: package org.eclipse.swt.graphics does not exist
[javac] ERROR: import org.eclipse.swt.graphics.ImageData;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:21: package org.eclipse.swt.graphics does not exist
[javac] ERROR: import org.eclipse.swt.graphics.ImageLoader;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:22: package org.eclipse.swt.graphics does not exist
[javac] ERROR: import org.eclipse.swt.graphics.Point;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:23: package org.eclipse.swt.graphics does not exist
[javac] ERROR: import org.eclipse.swt.graphics.Rectangle;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:24: package org.eclipse.swt.widgets does not exist
[javac] ERROR: import org.eclipse.swt.widgets.Button;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:25: package org.eclipse.swt.widgets does not exist
[javac] ERROR: import org.eclipse.swt.widgets.Canvas;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:26: package org.eclipse.swt.widgets does not exist
[javac] ERROR: import org.eclipse.swt.widgets.Display;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:27: package org.eclipse.swt.widgets does not exist
[javac] ERROR: import org.eclipse.swt.widgets.Event;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:28: package org.eclipse.swt.widgets does not exist
[javac] ERROR: import org.eclipse.swt.widgets.Listener;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:29: package org.eclipse.swt.widgets does not exist
[javac] ERROR: import org.eclipse.swt.widgets.Shell;
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:38: cannot find symbol
[javac] ERROR: symbol : class Display
[javac] ERROR: location: class Signature
[javac] ERROR: final Display display = new Display();
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:38: cannot find symbol
[javac] ERROR: symbol : class Display
[javac] ERROR: location: class Signature
[javac] ERROR: final Display display = new Display();
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:39: cannot find symbol
[javac] ERROR: symbol : class Shell
[javac] ERROR: location: class Signature
[javac] ERROR: final Shell shell = new Shell(display);
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:39: cannot find symbol
[javac] ERROR: symbol : class Shell
[javac] ERROR: location: class Signature
[javac] ERROR: final Shell shell = new Shell(display);
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:40: cannot find symbol
[javac] ERROR: symbol : class Button
[javac] ERROR: location: class Signature
[javac] ERROR: Button button = new Button(shell, 1);
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:40: cannot find symbol
[javac] ERROR: symbol : class Button
[javac] ERROR: location: class Signature
[javac] ERROR: Button button = new Button(shell, 1);
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:42: cannot find symbol
[javac] ERROR: symbol : class Canvas
[javac] ERROR: location: class Signature
[javac] ERROR: final Canvas canvas = new Canvas(shell, SWT.NONE);
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:42: cannot find symbol
[javac] ERROR: symbol : class Canvas
[javac] ERROR: location: class Signature
[javac] ERROR: final Canvas canvas = new Canvas(shell, SWT.NONE);
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:42: cannot find symbol
[javac] ERROR: symbol : variable SWT
[javac] ERROR: location: class Signature
[javac] ERROR: final Canvas canvas = new Canvas(shell, SWT.NONE);
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:43: cannot find symbol
[javac] ERROR: symbol : class Color
[javac] ERROR: location: class Signature
[javac] ERROR: Color col = new Color(null, 255, 255, 255);
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:43: cannot find symbol
[javac] ERROR: symbol : class Color
[javac] ERROR: location: class Signature
[javac] ERROR: Color col = new Color(null, 255, 255, 255);
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:47: cannot find symbol
[javac] ERROR: symbol : class Rectangle
[javac] ERROR: location: class Signature
[javac] ERROR: canvas.setBounds(new Rectangle(30,30,250,250));
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:55: cannot find symbol
[javac] ERROR: symbol : class SelectionListener
[javac] ERROR: location: class Signature
[javac] ERROR: button.addSelectionListener(new SelectionListener() {
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:75: cannot find symbol
[javac] ERROR: symbol : class Listener
[javac] ERROR: location: class Signature
[javac] ERROR: Listener listener = new Listener() {
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:75: cannot find symbol
[javac] ERROR: symbol : class Listener
[javac] ERROR: location: class Signature
[javac] ERROR: Listener listener = new Listener() {
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:104: cannot find symbol
[javac] ERROR: symbol : variable SWT
[javac] ERROR: location: class Signature
[javac] ERROR: canvas.addListener(SWT.MouseMove, listener);
[javac] ERROR: ^
[javac] ERROR: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\src\Signature.java:106: cannot find symbol
[javac] ERROR: symbol : variable SWT
[javac] ERROR: location: class Signature
[javac] ERROR: canvas.addListener(SWT.MouseDown, listener);
[javac] ERROR: ^
[javac] 37 errors
Error: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\t2\7D7F8D51826A5D53E1B9D02BF244D87A\default\logs\build.xml:70: Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:114)
at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:57)
at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)
at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)
at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
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:585)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:400)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:149)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:87)
at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)
at com.sap.tc.devconf.impl.DCProxyMake.make(DCProxyMake.java:260)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1574)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:4537)
at com.sap.ide.dii05.lib.internal.commands.dc.BuildJob.build(BuildJob.java:370)
at com.sap.ide.dii05.lib.internal.commands.dc.BuildJob.doInWorkerThread(BuildJob.java:187)
at com.sap.ide.dii05.util.api.job.JdiJob$1.doInWorkerThread(JdiJob.java:75)
at com.sap.ide.dii05.util.internal.job.InternalJdiJob$2$1.run(InternalJdiJob.java:215)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1779)
at com.sap.ide.dii05.util.internal.job.InternalJdiJob$2.run(InternalJdiJob.java:224)
at com.sap.ide.dii05.util.internal.job.BusyBackgroundIndicator.showWhile(BusyBackgroundIndicator.java:74)
at com.sap.ide.dii05.util.internal.job.InternalJdiJob.internalRun(InternalJdiJob.java:205)
at com.sap.ide.dii05.util.internal.job.InternalDiiJob.run(InternalDiiJob.java:275)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Ant runtime 0.313 seconds
Ant build finished with ERRORS
Compile failed; see the compiler error output for details.
Error: Build stopped due to an error: Compile failed; see the compiler error output for details.
Error: Build stopped due to an error: Compile failed; see the compiler error output for details.
Build plugin finished at 2008-12-09 16:58:41 GMT+05:30
Total build plugin runtime: 0.532 seconds
Build finished with ERROR
==== Post-Processing ==== started at 2008-12-09 16:58:41.521 GMT+05:30
Copy the build logs
from: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\t2\7D7F8D51826A5D53E1B9D02BF244D87A\default\logs\
to: C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\gen\default\logs\
Build results in folder C:\Documents and Settings\ic009689\workspace2.jdi\LocalDevelopment\DCs\demo.sap.com\sign\_comp\gen\default\ remain unchanged.
Hi,
I think you are using some external library other then provided defaultly.
If you are doing that .
You have to create a DC of type External library.
And add the component as used component in the main webdynpro component.
Thanks & Regards,
Lokesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.