Skip to content

Commit

Permalink
Changed the pom file to exclude the test classes from the binary build,
Browse files Browse the repository at this point in the history
removed non-UTF8 characters that prevented building the JavaDoc
  • Loading branch information
NLoos committed Jun 21, 2023
1 parent aa8861c commit 7dfe33c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .classpath
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding="demo/|examples/|test/" kind="src" path="src"/>
<classpathentry excluding="**/examples/**|**/demo/**|**/test/**" including="**/*.java" kind="src" output="target/classes" path="src">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="lib/commons-codec/commons-codec-1.3.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
Expand Down
10 changes: 10 additions & 0 deletions .settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
eclipse.preferences.version=1
encoding//src/jade/gui/images=UTF-8
encoding//src/jade/tools/DummyAgent/images=UTF-8
encoding//src/jade/tools/dfgui/images=UTF-8
encoding//src/jade/tools/introspector/gui/images=UTF-8
encoding//src/jade/tools/logging/gui/images=UTF-8
encoding//src/jade/tools/logging/images=UTF-8
encoding//src/jade/tools/rma/images=UTF-8
encoding//src/jade/tools/sniffer/images=UTF-8
encoding//src/jade/tools/testagent/images=UTF-8
encoding/<project>=UTF-8
encoding/src=UTF-8
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@

<build>
<sourceDirectory>${basedir}/src/</sourceDirectory>
<testSourceDirectory>${basedir}/src/test/</testSourceDirectory>
<resources>
<resource>
<directory>src/jade/gui/images</directory>
Expand Down Expand Up @@ -104,6 +105,7 @@
<excludes>
<exclude>**/examples/**</exclude>
<exclude>**/demo/**</exclude>
<exclude>**/test/**</exclude>
</excludes>
</configuration>
</plugin>
Expand Down Expand Up @@ -146,4 +148,3 @@
</plugins>
</build>
</project>

Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public void action() {
reply.setContent("Controller received unexpected: " + ACLMessage.getPerformative(msg.getPerformative()) + " from: " + msg.getSender().toString());
}
}else{
//se è null allora è uscito dalla blocking senza ricevere il messaggio.
//se null allora uscito dalla blocking senza ricevere il messaggio.
reply.setPerformative(ACLMessage.FAILURE);
reply.setContent("Controller does not receive any message from ping agent.");
}
Expand Down

0 comments on commit 7dfe33c

Please sign in to comment.