-
1. Re: Building from source behind firewall
sasdav Jan 10, 2007 11:42 AM (in response to sasdav)OK, I was able to get past that problem by adding the option to the build.xml but now I've got another problem.
I'm getting about 100 errors like this:
[execmodules] D:\jboss-portal-2.4.1-src\common\src\main\org\jboss\portal\common\command\ReflectedConfigurator.java:69: cannot
resolve symbol
[execmodules] symbol : class NoSuchAttachmentException
[execmodules] location: class org.jboss.portal.common.command.ReflectedConfigurator
[execmodules] public void setObject(AttributeType attribute, Object value) throws NoSuchAttachmentException
[execmodules] ^
I assume I'm missing a jar? Any idea which one?
Thanks -
2. Re: Building from source behind firewall
theute Jan 10, 2007 11:47 AM (in response to sasdav)drop thirdparty directory, do a ant clean, and try again. maybe... I have no clue
-
3. Re: Building from source behind firewall
peterj Jan 10, 2007 11:51 AM (in response to sasdav)The NoSuchAttachmentException class is located in ./common/src/main/org/jboss/portal/common/command, which should be part of the source you downloaded. Could you check that it is there?
How are you doing the build? You should cd to the build directory and run the build script (build.bat or build.sh). It will build the individual components in the proper order. -
4. Re: Building from source behind firewall
sasdav Jan 10, 2007 2:29 PM (in response to sasdav)Peter,
I'm doing exactly as you said, I change to the build directory and type build deploy.
D:\jboss-portal-2.6.0-DR1-src\common\src\main\org\jboss\portal\common does not contain a command directory, so it looks like the download was incomplete. -
5. Re: Building from source behind firewall
peterj Jan 10, 2007 3:49 PM (in response to sasdav)Wait a second, earlier you indicated 2.4.1, now you identify 2.6. Which is it?
Looking at WinZip, it tells me that the 2.4.1 source tar.gz file contains 3796 files, 55,466KB. -
6. Re: Building from source behind firewall
bvogt Jan 10, 2007 4:27 PM (in response to sasdav)Try setting:
<setproxy proxyhost="<your.proxy>" proxyport="<your.port>"/>
at the top of .../build/buildthirdparty.xml
and a 'build deploy' afterwards
Burkhard -
7. Re: Building from source behind firewall
sasdav Jan 10, 2007 4:30 PM (in response to sasdav)Yes, I tried 2.4.1 and 2.6 and had the exact same problem from the source download. I tried the cvs download since then and it compiled and deployed properly. But I'm getting NullPointerExceptions on the Theme. Still working on it.
-
8. Re: Building from source behind firewall
dleerob Feb 7, 2007 5:27 AM (in response to sasdav)"bvogt" wrote:
Try setting:<setproxy proxyhost="<your.proxy>" proxyport="<your.port>"/>
at the top of .../build/buildthirdparty.xml
and a 'build deploy' afterwards
Burkhard
Thanks this sorted out my problem where my build couldnt connect. Now it can connect to the remote repository. It is taking forever though, how long does the initial build usually take? -
9. Re: Building from source behind firewall
theute Feb 7, 2007 5:35 AM (in response to sasdav)It needs to get the 126MB of libraries so it mostly depends on your Internet connection
-
10. Re: Building from source behind firewall
theute Feb 8, 2007 2:11 PM (in response to sasdav)The 126MB rang a bell, that didn't sound right to me.
The thirdparty got on a diet, now you 'only' need to pull 42MB from the repository.
Sorry for the toubles.