+
+ <target name="main" depends="gwt-compile">
+ <!--Fix the index html file variables -->
+ <replaceregexp file="${gwt.www.dir}/${gwt.module}/index.html"
+ match="CLOUDBAR_ACTIVE_SERVICE = (.*)"
+ replace="CLOUDBAR_ACTIVE_SERVICE = '${CLOUDBAR_ACTIVE_SERVICE}';"
+ byline="true"
+ />
+ <replaceregexp file="${gwt.www.dir}/${gwt.module}/index.html"
+ match="CLOUDBAR_LOCATION = (.*)"
+ replace="CLOUDBAR_LOCATION = "${CLOUDBAR_LOCATION}";"
+ byline="true"
+ />
+ <replaceregexp file="${gwt.www.dir}/${gwt.module}/index.html"
+ match="CLOUDBAR_SERVICES = (.*)"
+ replace="CLOUDBAR_SERVICES = "${CLOUDBAR_SERVICES}";"
+ byline="true"
+ />
+ <replaceregexp file="${gwt.www.dir}/${gwt.module}/index.html"
+ match="CLOUDBAR_MENU = (.*)"
+ replace="CLOUDBAR_MENU = "${CLOUDBAR_MENU}";"
+ byline="true"
+ />
+ <replaceregexp file="${gwt.www.dir}/${gwt.module}/index.html"
+ match="loginUrl: (.*)"
+ replace="loginUrl: "${loginUrl}","
+ byline="true"
+ />
+ <replaceregexp file="${gwt.www.dir}/${gwt.module}/index.html"
+ match="feedbackUrl: (.*)"
+ replace="feedbackUrl: "${feedbackUrl}","
+ byline="true"
+ />
+ <replaceregexp file="${gwt.www.dir}/${gwt.module}/index.html"
+ match="authCookie: (.*)"
+ replace="authCookie: "${authCookie}""
+ byline="true"
+ />
+ </target>