Obviously you dont have some necessary jar files on your compile classpath.
 package org.eclipse.swt.widgets

You probably have this files on your Eclipse classpath / buildpath.
You have to add allof them to your compile classpath (see reference of javac 
task)

If you use Eclipse: You could also use Ant4Eclipse to get the classpath that 
Eclipse is using.

Greetings Juergen

-- 
Jürgen Knuplesch
-----Ursprüngliche Nachricht-----
Von: Hungry Snail [mailto:[email protected]] 
Gesendet: Montag, 15. Juni 2009 13:45
An: [email protected]
Betreff: ****SPAM**** cannot find symbol


Hi People.

I am trying to compile some files with ant but am getting the following errors.

 [javac] D:\Stats\src\org\selectbf\gui\ConfigurationDialog.java:32: package 
org.eclipse.swt.widgets does not exist  [javac] import 
org.eclipse.swt.widgets.Text;
 [javac]                                ^
 [javac] D:\Stats\src\org\selectbf\gui\ConfigurationDialog.java:50: package 
org.eclipse.swt.widgets does not exist  [javac] public class 
ConfigurationDialog extends org.eclipse.swt.widgets.Dialog
 [javac]                                                                 ^
 [javac] D:\Stats\src\org\selectbf\gui\ConfigurationDialog.java:53: cannot find 
symbol  [javac] symbol  : class Shell  [javac] location: class 
org.selectbf.gui.ConfigurationDialog
 [javac]     private Shell dialogShell;
 [javac]             ^
 [javac] D:\Stats\src\org\selectbf\gui\ConfigurationDialog.java:54: cannot find 
symbol  [javac] symbol  : class TabItem  [javac] location: class 
org.selectbf.gui.ConfigurationDialog
 [javac]     private TabItem generalTabItem;

In total there are 100 of these errors :-o.

As I have never used ant before, is there anything I can do to fix this?

Thanks in advance.
--
View this message in context: 
http://www.nabble.com/cannot-find-symbol-tp24033173p24033173.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to