<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Examples in &quot;src_test&#x2F;com&#x2F;serotonin&#x2F;bacnet4j&#x2F;test&quot; cannot compile]]></title><description><![CDATA[<p dir="auto">I have downloaded the latest bacnet4j ( 2016-05-18) from Sourceforge.</p>
<p dir="auto">I have managed to compile the library file and attempted to test out some examples of using the library.</p>
<p dir="auto">I see that there are a number of seemingly useful demo source files in the folder:</p>
<p dir="auto">/src_test/com/serotonin/bacnet4j/test/"</p>
<p dir="auto">However, when I tried to compile these files there are multiple compilation errors due to the fact that the library functions may have changed. E.g. IpNetwork() function in the library no longer accepts a single string variable whereas all the test programs still calling ipNetwork() function with a single string variable. There are also other errors.</p>
<p dir="auto">I wonder if there are updated sample files that will compile properly when linked to the library?  It makes it much easier to understand the program if we can compile and test the program without having to debug all the errors.</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forum.mango-os.com/topic/2868/examples-in-src_test-com-serotonin-bacnet4j-test-cannot-compile</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 23:14:07 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2868.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Jul 2017 06:41:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Examples in &quot;src_test&#x2F;com&#x2F;serotonin&#x2F;bacnet4j&#x2F;test&quot; cannot compile on Thu, 27 Jul 2017 03:54:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/leon" aria-label="Profile: leon">@<bdi>leon</bdi></a> said in <a href="/post/15054">Examples in "src_test/com/serotonin/bacnet4j/test" cannot compile</a>:</p>
<blockquote>
<p dir="auto">/src_test/com/serotonin/bacnet4j/test/"</p>
</blockquote>
<p dir="auto">Thanks for the confirmation. So it seems like the sample files in the project are indeed not yet updated. If anyone has updated versions of these sample files and could share them it would be most appreciated!</p>
]]></description><link>https://forum.mango-os.com/post/15086</link><guid isPermaLink="true">https://forum.mango-os.com/post/15086</guid><dc:creator><![CDATA[leon]]></dc:creator><pubDate>Thu, 27 Jul 2017 03:54:38 GMT</pubDate></item><item><title><![CDATA[Reply to Examples in &quot;src_test&#x2F;com&#x2F;serotonin&#x2F;bacnet4j&#x2F;test&quot; cannot compile on Wed, 26 Jul 2017 11:37:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/leon" aria-label="Profile: leon">@<bdi>leon</bdi></a> said in <a href="/post/15065">Examples in "src_test/com/serotonin/bacnet4j/test" cannot compile</a>:</p>
<blockquote>
<p dir="auto">git clone <a href="https://github.com/infiniteautomation/BACnet4J.git" rel="nofollow ugc">https://github.com/infiniteautomation/BACnet4J.git</a></p>
</blockquote>
<p dir="auto">That is the correct command to checkout the 'master' branch.  The master branch is the branch with the latest code.</p>
]]></description><link>https://forum.mango-os.com/post/15078</link><guid isPermaLink="true">https://forum.mango-os.com/post/15078</guid><dc:creator><![CDATA[terrypacker]]></dc:creator><pubDate>Wed, 26 Jul 2017 11:37:30 GMT</pubDate></item><item><title><![CDATA[Reply to Examples in &quot;src_test&#x2F;com&#x2F;serotonin&#x2F;bacnet4j&#x2F;test&quot; cannot compile on Tue, 25 Jul 2017 16:28:09 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much for your advice!</p>
<p dir="auto">We checked what we have downloaded and noticed that we have already downloaded version 4.  We looked at the build.gradle file  we see "version = '4.0.2'". This appears to be the latest version of the library?</p>
<p dir="auto">Is there a git clone command for downloading what latest version?  Our programmer used this git command to download the library:</p>
<p dir="auto">"git clone <a href="https://github.com/infiniteautomation/BACnet4J.git" rel="nofollow ugc">https://github.com/infiniteautomation/BACnet4J.git</a>".</p>
<p dir="auto">If this is still not the latest then we would love to be able to download the latest with updated sample programs. Thanks again for any advice.</p>
<h2>The following are the first few lines in the build.gradle</h2>
<p dir="auto">apply plugin: 'application'<br />
apply plugin: 'java'<br />
apply plugin: 'jacoco'<br />
apply plugin: 'maven-publish'</p>
<p dir="auto">sourceCompatibility = JavaVersion.VERSION_1_8<br />
targetCompatibility = JavaVersion.VERSION_1_8</p>
<p dir="auto">group = 'com.serotonin'<br />
version = '4.0.2'</p>
<p dir="auto">repositories {<br />
jcenter()<br />
}</p>
<p dir="auto">dependencies {<br />
compile 'ai.serotonin.oss:sero-scheduler:[1.1.0,2)'<br />
compile 'ai.serotonin.oss:sero-warp:1.0.0'<br />
compile 'org.apache.commons:commons-lang3:3.5'<br />
compile 'org.scream3r:jssc:2.8.0'<br />
compile 'org.slf4j:slf4j-api:[1.7.0,1.8)'</p>
<pre><code>testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:[2.7.22,3)'
testCompile 'org.slf4j:slf4j-simple:[1.7.0,1.8)'
</code></pre>
<p dir="auto">}</p>
]]></description><link>https://forum.mango-os.com/post/15065</link><guid isPermaLink="true">https://forum.mango-os.com/post/15065</guid><dc:creator><![CDATA[leon]]></dc:creator><pubDate>Tue, 25 Jul 2017 16:28:09 GMT</pubDate></item><item><title><![CDATA[Reply to Examples in &quot;src_test&#x2F;com&#x2F;serotonin&#x2F;bacnet4j&#x2F;test&quot; cannot compile on Tue, 25 Jul 2017 15:05:00 GMT]]></title><description><![CDATA[<p dir="auto">Hi leon,</p>
<p dir="auto">The latest BACnet4J is more likely the one in our repo: <a href="https://github.com/infiniteautomation/BACnet4J" rel="nofollow ugc">https://github.com/infiniteautomation/BACnet4J</a></p>
<p dir="auto">Matthew has recently contributed v4 of BACnet4J</p>
]]></description><link>https://forum.mango-os.com/post/15059</link><guid isPermaLink="true">https://forum.mango-os.com/post/15059</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 25 Jul 2017 15:05:00 GMT</pubDate></item></channel></rss>