ndt-dev - [ndt-dev] [ndt] r871 committed - Merge FlashIssue108 branch into trunk
Subject: NDT-DEV email list created
List archive
- From:
- To:
- Subject: [ndt-dev] [ndt] r871 committed - Merge FlashIssue108 branch into trunk
- Date: Wed, 05 Feb 2014 13:31:22 +0000
Revision: 871
Author:
Date: Wed Feb 5 13:31:05 2014 UTC
Log: Merge FlashIssue108 branch into trunk
http://code.google.com/p/ndt/source/detail?r=871
Added:
/trunk/flash-client/Makefile.am
Modified:
/trunk
/trunk/Makefile.am
/trunk/configure.ac
=======================================
--- /dev/null
+++ /trunk/flash-client/Makefile.am Wed Feb 5 13:31:05 2014 UTC
@@ -0,0 +1,47 @@
+#########################################################################
+# #
+# Copyright (C) 2014 #
+# Internet2 #
+# All Rights Reserved #
+# #
+#########################################################################
+#
+# File: Makefile.am
+#
+# Author: Sebastian Kostuch
+#
+# Date: Tue Feb 4 13:43:12 CET 2014
+#
+# Description:
+
+NDTMXMLCFLAGS = -o dist/FlashClt.swf -load-config+=ndt-flash-config.xml
+TEMPDIRS = dist
+
+ndtdir = $(prefix)/ndt
+
+ndt_DATA = dist/FlashClt.swf
+FlashCltdir = $(ndtdir)
+
+noinst_PROGRAMS = FlashClt.swf
+
+FlashClt_swf_SOURCES = src/GUI.as src/Handshake.as src/Main.as src/Message.as \
+ src/MessageType.as src/NDTConstants.as
src/NDTPController.as \
+ src/ndt_test_results.as src/NDTUtils.as
src/TestC2S.as \
+ src/TestMETA.as src/TestResults.as
src/TestResultsUtils.as \
+ src/TestS2C.as src/TestType.as src/UserAgentTools.as
+
+dist:
+ mkdir -p dist
+
+FlashClt.swf: $(TEMPDIRS)
+ $(NDTMXMLC) src/Main.as $(NDTMXMLCFLAGS);
+
+mostlyclean-generic:
+ rm -rf $(TEMPDIRS) *~
+
+EXTRA_DIST = README AUTHORS COPYING ndt-flash-config.xml assets/hover.png assets/mlab-logo.png \
+ src/locale/ca_ES/DisplayMessages.properties src/locale/el_GR/DisplayMessages.properties \
+ src/locale/en_US/DisplayMessages.properties src/locale/fr_FR/DisplayMessages.properties \
+ src/locale/nb_NO/DisplayMessages.properties src/locale/nl_NL/DisplayMessages.properties \
+ src/locale/pt_BR/DisplayMessages.properties src/locale/ru_RU/DisplayMessages.properties
+
=======================================
--- /trunk/Makefile.am Tue Jan 12 21:27:35 2010 UTC
+++ /trunk/Makefile.am Wed Feb 5 13:31:05 2014 UTC
@@ -16,10 +16,17 @@
# Description: toplevel build for bwctl
#
+SUBDIRS = @TOP_BUILD_DIRS@ src conf doc
if HAVE_GCJ
-SUBDIRS = @TOP_BUILD_DIRS@ src Admin Applet conf doc janalyze
-else
-SUBDIRS = @TOP_BUILD_DIRS@ src conf doc
+SUBDIRS += Admin janalyze
+if BUILD_APPLET
+SUBDIRS += Applet
+endif
+if HAVE_MXMLC
+if BUILD_FLASH_CLT
+SUBDIRS += flash-client
+endif
+endif
endif
EXTRA_DIST = admin_description.html admin.html \
=======================================
--- /trunk/configure.ac Mon Oct 14 13:20:21 2013 UTC
+++ /trunk/configure.ac Wed Feb 5 13:31:05 2014 UTC
@@ -78,11 +78,31 @@
AC_MSG_RESULT(yes)
fi
+# Enabling/disabling java client build
+AC_ARG_ENABLE(java, [ --enable-java=[yes/no] turn on java applet build
+ [default=yes]],, enable_java=yes)
+
+if test "x$enable_java" != "xno"; then
+ AM_CONDITIONAL(BUILD_APPLET, true)
+else
+ AM_CONDITIONAL(BUILD_APPLET, false)
+fi
+
+# Enabling.disabling flash client build
+AC_ARG_ENABLE(flash, [ --enable-flash=[yes/no] turn on flash client build
+ [default=yes]],, enable_flash=yes)
+
+if test "x$enable_flash" != "xno"; then
+ AM_CONDITIONAL(BUILD_FLASH_CLT, true)
+else
+ AM_CONDITIONAL(BUILD_FLASH_CLT, false)
+fi
+
AC_ARG_WITH(I2util,
AC_HELP_STRING([--with-I2util=<dir>],
[defaults to building I2util under owamp if
exists]),
- with_I2util=$withval, with_I2util=yes)
+ with_I2util=$withval, with_I2util=yes)
#
# find I2util
@@ -247,12 +267,19 @@
AC_SUBST(NDTJAR)
AC_SUBST(NDTJARFLAG)
+# Flash application compiler
+NDTMXMLC=mxmlc
+
+AC_SUBST(NDTMXMLC)
+
# Checks for programs.
AC_PROG_CC
AC_PROG_LN_S
AM_PROG_GCJ
AC_CHECK_PROGS(SGCJ, javac)
+AC_CHECK_PROGS(MXMLC, mxmlc)
AM_CONDITIONAL(HAVE_GCJ, test -n "$SGCJ")
+AM_CONDITIONAL(HAVE_MXMLC, test -n "$MXMLC")
# Checks for libraries.
@@ -277,7 +304,7 @@
AC_SUBST(ac_aux_dir)
AC_CONFIG_FILES([Makefile
src/Makefile Admin/Makefile Applet/Makefile
- conf/Makefile doc/Makefile janalyze/Makefile])
+ conf/Makefile doc/Makefile janalyze/Makefile
flash-client/Makefile])
AC_OUTPUT
echo ""
@@ -326,7 +353,11 @@
if test -z "$HAVE_GCJ_TRUE" && test -n "$HAVE_GCJ_FALSE"; then
SUMMARY_ADMINCLASS="YES"
+if test "x$enable_java" != "xno"; then
SUMMARY_TCPBW100JAR="YES"
+else
+SUMMARY_TCPBW100JAR="NO (disabled by user)"
+fi
SUMMARY_JANALYZEJAR="YES"
else
SUMMARY_ADMINCLASS="NO (missing java compiler)"
@@ -334,15 +365,27 @@
SUMMARY_JANALYZEJAR="NO (missing java compiler)"
fi
-if test "$SUMMARY_WEB100CLT" = "YES"; then
+if test -z "$HAVE_MXMLC_TRUE" && test -n "$HAVE_MXMLC_FALSE"; then
+if test "x$enable_flash" != "xno"; then
+SUMMARY_FLASHCLT="YES"
+else
+SUMMARY_FLASHCLT="NO (disabled by user)"
+fi
+else
+SUMMARY_FLASHCLT="NO (missing action script compiler)"
+fi
+
+if test "$SUMMARY_WEB100CLT" = "YES" && test "$SUMMARY_FLASHCLT" = "YES" && test "$SUMMARY_TCPBW100JAR" = "YES"; then
echo "*** Client Tools - complete"
else
echo "*** Client Tools - incomplete"
fi
echo "* web100clt: ${SUMMARY_WEB100CLT}"
+echo "* Tcpbw100.jar: ${SUMMARY_TCPBW100JAR}"
+echo "* flash-client: ${SUMMARY_FLASHCLT}"
echo ""
-if test "$SUMMARY_FAKEWWW" = "YES" && (test "$SUMMARY_WEB100SRV" = "YES" | | test "$SUMMARY_WEB100GSRV" = "YES") && test "$SUMMARY_TCPBW100JAR" = "YES"; then
+if test "$SUMMARY_FAKEWWW" = "YES" && (test "$SUMMARY_WEB100SRV" = "YES" | | test "$SUMMARY_WEB100GSRV" = "YES"); then
echo "*** Server Tools - complete"
else
echo "*** Server Tools - incomplete"
@@ -350,7 +393,6 @@
echo "* fakewww: ${SUMMARY_FAKEWWW}"
echo "* web100srv: ${SUMMARY_WEB100SRV}"
echo "* web10gsrv: ${SUMMARY_WEB10GSRV}"
-echo "* Tcpbw100.jar: ${SUMMARY_TCPBW100JAR}"
echo ""
if test "$SUMMARY_ANALYZE" = "YES" && test "$SUMMARY_VIEWTRACE" = "YES" && test "$SUMMARY_TRMKMAP" = "YES" && test "$SUMMARY_GENPLOT" = "YES" && test "$SUMMARY_JANALYZEJAR" = "YES" && test "$SUMMARY_ADMINCLASS" = "YES"; then
- [ndt-dev] [ndt] r871 committed - Merge FlashIssue108 branch into trunk, ndt, 02/05/2014
Archive powered by MHonArc 2.6.16.