Actions

SSL Explorer: Difference between revisions

From Rabbi Blog

 
Line 8: Line 8:
** After doing this, the compile time increased from 12 seconds to failure, eliminated numerous warning messages and extended the time to 1 min 6 sec.
** After doing this, the compile time increased from 12 seconds to failure, eliminated numerous warning messages and extended the time to 1 min 6 sec.


<pre>BUILD FAILED
<pre>
compile-webapp:
    [javac] Compiling 874 source files to /var/www/html/rabbibob/ssl/sslexplorer-1.0.0_RC17/sslexplorer/build/webapp
    [javac] /var/www/html/rabbibob/ssl/sslexplorer-1.0.0_RC17/sslexplorer/src/com/sslexplorer/notification/Notifier.java:41: package javax.management.relation does not exist
    [javac] import javax.management.relation.RoleNotFoundException;
    [javac]                                  ^
    [javac] /var/www/html/rabbibob/ssl/sslexplorer-1.0.0_RC17/sslexplorer/src/com/sslexplorer/notification/Notifier.java:340: cannot find symbol
    [javac] symbol  : class RoleNotFoundException
    [javac] location: class com.sslexplorer.notification.Notifier
    [javac]    private void sendByRole(MessageSender sender, Recipient recipient) throws Exception, RoleNotFoundException, UserDatabaseException {
    [javac]                                                                                          ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors
 
BUILD FAILED
/var/www/html/rabbibob/ssl/sslexplorer-1.0.0_RC17/build.xml:49: The following error occurred while executing this line:
/var/www/html/rabbibob/ssl/sslexplorer-1.0.0_RC17/build.xml:49: The following error occurred while executing this line:
/var/www/html/rabbibob/ssl/sslexplorer-1.0.0_RC17/sslexplorer/build.xml:858: Compile failed; see the compiler error output for details.</pre>
/var/www/html/rabbibob/ssl/sslexplorer-1.0.0_RC17/sslexplorer/build.xml:858: Compile failed; see the compiler error output for details.
</pre>

Latest revision as of 11:53, 2 August 2008

Install

  • yum install ant (no issue)
  • Java exists (though there are issues around this (see Troubleshooting)

Troubleshooting

  • Added JRE to PATH
export PATH=/usr/lib/jvm/jre-1.5.0:$PATH
    • Before doing this, there was a build failed error pointing to maverick-multiplex version ref 1.1 (editing the build.xml to "1.4" corrected this, though the ramifications are not known to me).
    • After doing this, the compile time increased from 12 seconds to failure, eliminated numerous warning messages and extended the time to 1 min 6 sec.
compile-webapp:
    [javac] Compiling 874 source files to /var/www/html/rabbibob/ssl/sslexplorer-1.0.0_RC17/sslexplorer/build/webapp
    [javac] /var/www/html/rabbibob/ssl/sslexplorer-1.0.0_RC17/sslexplorer/src/com/sslexplorer/notification/Notifier.java:41: package javax.management.relation does not exist
    [javac] import javax.management.relation.RoleNotFoundException;
    [javac]                                  ^
    [javac] /var/www/html/rabbibob/ssl/sslexplorer-1.0.0_RC17/sslexplorer/src/com/sslexplorer/notification/Notifier.java:340: cannot find symbol
    [javac] symbol  : class RoleNotFoundException
    [javac] location: class com.sslexplorer.notification.Notifier
    [javac]     private void sendByRole(MessageSender sender, Recipient recipient) throws Exception, RoleNotFoundException, UserDatabaseException {
    [javac]                                                                                          ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors

BUILD FAILED
/var/www/html/rabbibob/ssl/sslexplorer-1.0.0_RC17/build.xml:49: The following error occurred while executing this line:
/var/www/html/rabbibob/ssl/sslexplorer-1.0.0_RC17/sslexplorer/build.xml:858: Compile failed; see the compiler error output for details.