# Weather Module failed to build

**URL:** <https://forum.inductiveautomation.com/t/weather-module-failed-to-build/5096>\
**Category:** Module Development\
**Created:** [September 4, 2012, 1:56am UTC](https://forum.inductiveautomation.com/t/weather-module-failed-to-build/5096 "2012-09-04T01:56:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hngo](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@hngo](https://forum.inductiveautomation.com/u/hngo)\
**Post date:** [September 4, 2012, 1:56am UTC](https://forum.inductiveautomation.com/t/weather-module-failed-to-build/5096/1 "2012-09-04T01:56:23Z")

</div>

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](http://localhost:8088/main/system/DeveloperModuleLoadingServlet)

Total time: 16 seconds

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [September 4, 2012, 2:48pm UTC](https://forum.inductiveautomation.com/t/weather-module-failed-to-build/5096/2 "2012-09-04T14:48:17Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [September 5, 2012, 4:20am UTC](https://forum.inductiveautomation.com/t/weather-module-failed-to-build/5096/3 "2012-09-05T04:20:15Z")

</div>

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