Commit f5d8759c authored by Matt Tucker's avatar Matt Tucker Committed by matt

Library updates.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@770 b35dd754-fafc-0310-a699-88a17e54d16e
parent 53d80b23
...@@ -226,9 +226,9 @@ ...@@ -226,9 +226,9 @@
<attribute name="Built-By" value="Jive Software (www.jivesoftware.org)"/> <attribute name="Built-By" value="Jive Software (www.jivesoftware.org)"/>
</manifest> </manifest>
</jar> </jar>
<!-- Copy application dependent jars --> <!-- Copy application dependent files -->
<copy todir="${jar.dest.dir}"> <copy todir="${jar.dest.dir}">
<fileset dir="${lib.dist.dir}" includes="*.jar" /> <fileset dir="${lib.dist.dir}" includes="*.*" />
</copy> </copy>
<!-- Setup environment --> <!-- Setup environment -->
......
No preview for this file type
No preview for this file type
No preview for this file type
Name | Version Name | Version
--------------------------------------------- ---------------------------------------------
hsqldb.jar | hsqldb.jar | 1.7.1
mysql.jar | 3.0.15 mysql.jar | 3.0.16
postgres.jar | 7.4 version 215 postgres.jar | 7.4 version 215
ant.jar | Jetty 5.0.0 ant.jar | Jetty 5.1.2pre0
commons-logging.jar | Jetty 5.0.0 commons-logging.jar | Jetty 5.1.2pre0
commons-el.jar | Jetty 5.0.0 commons-el.jar | Jetty 5.1.2pre0
jetty.jar | Jetty 5.0.0 jetty.jar | Jetty 5.1.2pre0
jasper-compiler.jar | Jetty 5.0.0 jasper-compiler.jar | Jetty 5.1.2pre0
jasper-runtime.jar | Jetty 5.0.0 jasper-runtime.jar | Jetty 5.1.2pre0
servlet.jar | Jetty 5.0.0 servlet.jar | Jetty 5.1.2pre0
dom4j.jar | 1.5.2 dom4j.jar | 1.5.2
jaxen.jar | 1.1 beta 4 (from DOM4J 1.5.2) jaxen.jar | 1.1 beta 4 (from DOM4J 1.5.2)
junit.jar | 3.8.1 junit.jar | 3.8.1
ant-contrib.jar | 1.0b1 ant-contrib.jar | 1.0b1
ant-subdirtask.jar | Revision 1.4 (CVS) ant-subdirtask.jar | Revision 1.4 (CVS)
jdic.jar | 0.8.6 (for windows only) jdic.jar | 0.8.7 (for windows only)
xmltask.jar | 1.10.5 xmltask.jar | 1.10.5
jstl.jar | Jakarta standard taglib 1.1.2 jstl.jar | Jakarta standard taglib 1.1.2
standard.jar | Jakarta standard taglib 1.1.2 standard.jar | Jakarta standard taglib 1.1.2
......
...@@ -102,8 +102,6 @@ public class Launcher { ...@@ -102,8 +102,6 @@ public class Launcher {
// create the main menu of the system tray icon // create the main menu of the system tray icon
JPopupMenu menu = new JPopupMenu("Messenger Menu"); JPopupMenu menu = new JPopupMenu("Messenger Menu");
menu.addSeparator();
final JMenuItem showMenuItem = new JMenuItem("Hide"); final JMenuItem showMenuItem = new JMenuItem("Hide");
showMenuItem.setActionCommand("Hide/Show"); showMenuItem.setActionCommand("Hide/Show");
menu.add(showMenuItem); menu.add(showMenuItem);
...@@ -255,64 +253,32 @@ public class Launcher { ...@@ -255,64 +253,32 @@ public class Launcher {
private synchronized void startApplication() { private synchronized void startApplication() {
if (messengerd == null) { if (messengerd == null) {
File binDir = null;
File libDir = null;
File homeDir = null;
File exe = null;
try { try {
// Aliases keep their cwd rather than the aliased binDir's cwd on MacOS X File windowsExe = new File(new File("").getAbsoluteFile(), "messengerd.exe");
// so we'll do a search for messengerd rather than relying on it being where File unixExe = new File(new File("").getAbsoluteFile(), "messengerd");
// we think it will be... if (windowsExe.exists()) {
binDir = new File("").getAbsoluteFile(); messengerd = Runtime.getRuntime().exec(new String[] { windowsExe.toString() });
libDir = new File("../lib").getAbsoluteFile(); }
homeDir = binDir.getParentFile(); else if (unixExe.exists()) {
messengerd = Runtime.getRuntime().exec(new String[] { unixExe.toString() });
if (libDir.exists()) {
messengerd = Runtime.getRuntime().exec(new String[]{"java", "-jar", new File(libDir, "startup.jar").toString()});
} }
else { else {
// MacOS X throw new FileNotFoundException();
exe = new File(homeDir, "messenger.app");
if (exe.exists()) {
messengerd = Runtime.getRuntime().exec(new String[]{
"open", exe.toString()
});
}
else {
// Unix
exe = new File(homeDir, "messenger");
if (exe.exists()) {
messengerd = Runtime.getRuntime().exec(new String[]{exe.toString()});
}
else {
throw new FileNotFoundException();
}
}
} }
} }
catch (Exception e) { catch (Exception e) {
e.printStackTrace();
// Try one more time using the jar and hope java is on the path // Try one more time using the jar and hope java is on the path
try { try {
if (binDir != null) { File libDir = new File("../lib").getAbsoluteFile();
messengerd = Runtime.getRuntime().exec(new String[]{ messengerd = Runtime.getRuntime().exec(new String[]{
"java", "-jar", new File(libDir, "startup.jar").toString() "java", "-jar", new File(libDir, "startup.jar").toString()
}); });
}
else {
e.printStackTrace();
JOptionPane.showMessageDialog(null,
"Launcher could not locate messengerd,\nthe Jive Messenger server daemon executable",
"File not found", JOptionPane.ERROR_MESSAGE);
}
} }
catch (Exception ex) { catch (Exception ex) {
ex.printStackTrace(); ex.printStackTrace();
JOptionPane.showMessageDialog(null, JOptionPane.showMessageDialog(null,
"Launcher could not locate messengerd,\nthe Jive Messenger server daemon executable", "Launcher could not start,\nJive Messenger",
"File not found", JOptionPane.ERROR_MESSAGE); "File not found", JOptionPane.ERROR_MESSAGE);
} }
} }
......
...@@ -134,6 +134,10 @@ LABEL { font-weight : normal; } ...@@ -134,6 +134,10 @@ LABEL { font-weight : normal; }
<input type="radio" name="sslEnabled" value="false" id="rb02" <input type="radio" name="sslEnabled" value="false" id="rb02"
<%= ((!sslEnabled) ? " checked" : "") %>> <%= ((!sslEnabled) ? " checked" : "") %>>
<label for="rb02">No</label> <label for="rb02">No</label>
<span class="jive-description">
<br>
Enables or disables secure XMPP connections are allowed.
</span>
</td> </td>
</tr> </tr>
</table> </table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment