10 Replies Latest reply on Feb 8, 2007 2:11 PM by Thomas Heute

    Building from source behind firewall

    David Barron Newbie

      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

      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

      [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

      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?