-
1. Re: Debug JBoss-source with Eclipse
mazz Feb 2, 2005 8:59 AM (in response to sysuser1)This happens to me all the time :-) I forget to run the ant scripts the very first time in order to generate some of the source (XDoclet stuff and RMIC and the like).
Go to the build project and run "build.bat". That will go through all source projects and build it, including generating the source.
Once that is done, Eclipse won't have any errors. -
2. Re: Debug JBoss-source with Eclipse
sysuser1 Feb 2, 2005 9:48 AM (in response to sysuser1)Thanks for your answer.
I run the build.bat but it throws errors.
E.g.
_default:compile-classes:
[javac] Compiling 228 source files to C:\Eclipse\workspace\JBoss-Source\comm
on\output\classes
[execmodules] C:\Eclipse\workspace\JBoss-Source\common\src\main\org\jboss\net\ss
l\SSLSocketFactoryBuilder.java:9: cannot resolve symbol
[execmodules] symbol : class SSLSocketFactory
[execmodules] location: package ssl
[execmodules] import javax.net.ssl.SSLSocketFactory;
[execmodules] ^
[execmodules] C:\Eclipse\workspace\JBoss-Source\common\src\main\org\jboss\net\ss
l\SSLSocketFactoryBuilder.java:19: cannot resolve symbol
[execmodules] symbol : class SSLSocketFactory
[execmodules] location: interface org.jboss.net.ssl.SSLSocketFactoryBuilder
[execmodules] SSLSocketFactory getSocketFactory() throws Exception;
[execmodules] ^
[execmodules] C:\Eclipse\workspace\JBoss-Source\common\src\main\org\jboss\loggin
g\XPriority.java:79: warning: toPriority(java.lang.String) in org.apache.log4j.P
riority has been deprecated
[execmodules] public static Priority toPriority(String name)
[execmodules] ^
[execmodules] 2 errors
[execmodules] 1 warning
BUILD FAILED
C:\Eclipse\workspace\JBoss-Source\tools\etc\buildmagic\buildmagic.ent:406: Compi
le failed; see the compiler error output for details.
Total time: 4 seconds
C:\Eclipse\workspace\JBoss-Source\build>
Do you have an idea what's wrong here?