Weather Module failed to build

Hi guys,

I’m copying the whole folder from the bootcamp and rebuilding the dev environment on my computer but it fails at the very first step trying to build the Weather module (Module Bootcamp -Instroduction.pdf page 9). It’s saying that it couldn’t find the file “C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\modules\WeatherModule-module-unsigned.modl” while I verify that the file does exist. The complete console output is below.

Any idea what might be wrong?
Thanks,
Hung.

Console output:
Buildfile: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\build-weather.xml
clean:
[delete] Deleting directory C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin
[delete] Deleting directory C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\modules
build:
[echo] WeatherModule 1.4.0.1-beta1
[echo] Build date: 09/03/2012 06:46 PM
[echo] Build version: 1
MakeProject:
[echo] Compiling WeatherModule_Client
[mkdir] Created dir: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Client\bin
[javac] C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\build.xml:41: warning: ‘includeantruntime’ was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 10 source files to C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Client\bin
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] Note: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\WeatherModule_Client\src\com\inductiveautomation\weather\client\ClientHook.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 1 warning
[copy] Copying 178 files to C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Client\bin
[mkdir] Created dir: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Client\dist
[jar] Building jar: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Client\dist\weather-client.jar
MakeProject:
[echo] Compiling WeatherModule_Designer
[mkdir] Created dir: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Designer\bin
[javac] C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\build.xml:41: warning: ‘includeantruntime’ was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 3 source files to C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Designer\bin
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] Note: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\WeatherModule_Designer\src\com\inductiveautomation\weather\designer\beaninfo\WeatherComponentBeanInfo.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 1 warning
[copy] Copying 2 files to C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Designer\bin
[mkdir] Created dir: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Designer\dist
[jar] Building jar: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Designer\dist\weather-designer.jar
MakeProject:
[echo] Compiling WeatherModule_Gateway
[mkdir] Created dir: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Gateway\bin
[javac] C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\build.xml:41: warning: ‘includeantruntime’ was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 35 source files to C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Gateway\bin
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 warning
[copy] Copying 3 files to C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Gateway\bin
MakeProject-ReplaceProps:
[echo] WeatherGateway.properties:Meta.ReleaseDate=09/03/2012 06:46 PM
[propertyfile] Creating new property file: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Gateway\bin\WeatherGateway.properties
MakeProject-ReplaceProps:
[echo] WeatherGateway.properties:Meta.Version=1
[propertyfile] Updating property file: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Gateway\bin\WeatherGateway.properties
[mkdir] Created dir: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Gateway\dist
[jar] Building jar: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Gateway\dist\weather-gateway.jar
[echo] Making WeatherModule modl
[mkdir] Created dir: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\temp_modl
[mkdir] Created dir: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\modules
[copy] Copying 1 file to C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\temp_modl
[pack200] Building: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\temp_modl\weather-designer.jar.pack.gz
[pack200] Packing with Pack200
[pack200] Source File :C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Designer\dist\weather-designer.jar
[pack200] Dest. File :C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\temp_modl\weather-designer.jar.pack.gz
[pack200] Config file :C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\pack200.properties
[pack200] Building: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\temp_modl\commons-math3-3.0.jar.pack.gz
[pack200] Packing with Pack200
[pack200] Source File :C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\WeatherModule_Designer\lib\commons-math3-3.0.jar
[pack200] Dest. File :C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\temp_modl\commons-math3-3.0.jar.pack.gz
[pack200] Config file :C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\pack200.properties
[pack200] Building: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\temp_modl\weather-client.jar.pack.gz
[pack200] Packing with Pack200
[pack200] Source File :C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\bin\WeatherModule_Client\dist\weather-client.jar
[pack200] Dest. File :C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\temp_modl\weather-client.jar.pack.gz
[pack200] Config file :C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\pack200.properties
[copy] Copying 1 file to C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\temp_modl
[zip] Building zip: C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\modules\WeatherModule-module-unsigned.modl
[delete] Deleting directory C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\temp_modl
deploy:
[echo] Installing WeatherModule on Ignition Gateway.
[postmodule] moduleFile=C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\modules\WeatherModule-module-unsigned.modl, postUrl=http://localhost:8088/main/system/DeveloperModuleLoadingServlet

BUILD FAILED
C:\DSOM\eclipse-jee-indigo-SR2-win32-x86_64\eclipse\workspace\Build\build-weather.xml:118: java.io.FileNotFoundException: localhost:8088/main/system/Devel … ingServlet

Total time: 16 seconds

Your module build actually succeeded. What is happening is that the final Ant task is trying to deploy the module to your local IA gateway, but it doesn’t see the gateway running at that URL. If you want to turn the deploy function off, just open Build/build-weather.xml and find the line that contains depends=clean, build, deploy Remove the “deploy” word so it looks like depends=clean, build Then your module build will finish successfully on the command line.

Its because you don’t have a developer key… get one.