[jboss-user] [JBoss Portal] - Building from source behind firewall

sasdav do-not-reply at jboss.com
Wed Jan 10 10:08:22 EST 2007


Boss Portal Version 2.4 sp1
Did you get Portal from CVS? or download it? download
JBoss AS Version 4.0.5
Database Vendor and Version MySQL 5.0
JDBC Connector and Version com.mysql.jdbc.Driver 5.0
OS Platform Windows XP sp2
JBOSS_HOME=D:\jboss-4.0.5.GA

I'm trying to build and deploy from source and I'm having two problems.  When I try to build datasource in the core directory I get the following:

java.io.FileNotFoundException: D:\jboss-portal-2.4.1-src\core\..\thirdparty\libraries.ent (The system cannot find the file specified)

There is in fact no thirdparty directory in d:\jboss-portal-2.4.1-src

I created  a portal-mysql-ds.xml file from what is shown in the docs and deployed it in JBOSS_HOME\server\default\deploy and it looks like JBoss is loading it all right so I move on.  I change to the build directory and try build deploy and I get this:

D:\jboss-portal-2.4.1-src\build>build deploy
Executing D:\jboss-portal-2.4.1-src\build\..\tools\bin\ant.bat  -logger org.apache.tools.ant.NoBannerLogger deploy
Buildfile: build.xml

createthirdparty:
    [mkdir] Created dir: D:\jboss-portal-2.4.1-src\thirdparty\antlr
      [get] Getting: http://repository.jboss.com/antlr/2.7.6.ga/component-info.xml
      [get] To: D:\jboss-portal-2.4.1-src\thirdparty\antlr\component-info.xml
      [get] Error getting http://repository.jboss.com/antlr/2.7.6.ga/component-info.xml to D:\jboss-portal-2.4.1-src\thirdpar
ty\antlr\component-info.xml

BUILD FAILED
D:\jboss-portal-2.4.1-src\build\build.xml:356: The following error occurred while executing this line:
D:\jboss-portal-2.4.1-src\build\build-thirdparty.xml:113: Unable to get remote file=D:\jboss-portal-2.4.1-src\thirdparty\antl
r\component-info.xml url=http://repository.jboss.com/antlr/2.7.6.ga/component-info.xml

I'm behind a firewall so I need to set the http.proxyHost and http.proxyPort before the build process will be able to get the file, but where do I do this?  I've tried adding it to the command line and to the ARGS option in build.bat but neither helps.

Any ideas?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999978#3999978

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999978



More information about the jboss-user mailing list