SteveyO / Hue-Emulator

A Bridge API Emulator for the Philips Hue (Personal Wireless System)
165 stars 41 forks source link

How to build emulator after some local changes on bridge functions #43

Closed EmreDenizz closed 5 years ago

EmreDenizz commented 5 years ago

I want to make some changes on the Bridge functions in src folder. After changes, building new emulator jar is needed. How can i build a new emulator jar file like HueEmulator-v0.8.jar. I tried javac ./src/com/hueemulator/emulator/HueEmulator.java but it gives some errors. Could you help me on this?

SteveyO commented 5 years ago

I developed the editor using Eclipse, so to build all the .jar files you see, I simply used the Eclipse export -> export Runnable Jar option. (Obviously selecting the Hue Emulator Launch configuration). I assume in other IDEs you can do the same,

If you use IntelliJ maybe something like this may work (I havent tried it). https://stackoverflow.com/questions/1082580/how-to-build-jars-from-intellij-properly

EmreDenizz commented 5 years ago

Thank you @SteveyO. I managed to create a new JAR file in the Eclipse IDE.