master
Skylar Ittner 4 years ago
parent defe5a0998
commit 1344dd0abd

@ -22,7 +22,7 @@
<!-- <!--
Generated file; DO NOT EDIT. Generated file; DO NOT EDIT.
--> -->
<project name="Lecte" basedir=".."> <project name="CommunityVotingApp" basedir="..">
<property file="nbproject/configs/${config}.properties" /> <property file="nbproject/configs/${config}.properties" />
<scriptdef name="checkVersion" language="javascript"> <scriptdef name="checkVersion" language="javascript">
@ -35,7 +35,7 @@
} }
]]> ]]>
</scriptdef> </scriptdef>
<scriptdef name="forDevice" language="javascript"> <scriptdef name="forDevice" language="javascript">
<![CDATA[ <![CDATA[
var dev = project.getProperty("device"); var dev = project.getProperty("device");
@ -53,7 +53,7 @@
</or> </or>
</condition> </condition>
</target> </target>
<target name="upgrade-to-cordova-project" depends="check-cordova-project,check-cordova-version" unless="cordova.project"> <target name="upgrade-to-cordova-project" depends="check-cordova-project,check-cordova-version" unless="cordova.project">
<echo level="info" message="${cordova.command} -d create ${java.io.tmpdir}/nb_temp_project com.coolappz.${project.name} ${project.name}" /> <echo level="info" message="${cordova.command} -d create ${java.io.tmpdir}/nb_temp_project com.coolappz.${project.name} ${project.name}" />
<delete dir="${java.io.tmpdir}/nb_temp_project"/> <delete dir="${java.io.tmpdir}/nb_temp_project"/>
@ -61,8 +61,8 @@
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/> <env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
<env key="JAVA_HOME" path="${jdk.home}"/> <env key="JAVA_HOME" path="${jdk.home}"/>
<arg value="-d"/> <arg value="-d"/>
<arg value="create"/> <arg value="create"/>
<arg value="${java.io.tmpdir}/nb_temp_project"/> <arg value="${java.io.tmpdir}/nb_temp_project"/>
<arg value="com.coolappz.${project.name}"/> <arg value="com.coolappz.${project.name}"/>
<arg value="${project.name}" /> <arg value="${project.name}" />
</exec> </exec>
@ -82,8 +82,8 @@
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/> <env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
<env key="JAVA_HOME" path="${jdk.home}"/> <env key="JAVA_HOME" path="${jdk.home}"/>
<arg value="-d"/> <arg value="-d"/>
<arg value="create"/> <arg value="create"/>
<arg value="www_nb_temp"/> <arg value="www_nb_temp"/>
<arg value="com.coolappz.${project.name}"/> <arg value="com.coolappz.${project.name}"/>
<arg value="${project.name}" /> <arg value="${project.name}" />
</exec> </exec>
@ -93,26 +93,26 @@
<delete dir="www_nb_temp"/> <delete dir="www_nb_temp"/>
<delete file="www/config.xml"/> <delete file="www/config.xml"/>
</target> </target>
<taskdef <taskdef
classname="org.netbeans.modules.cordova.updatetask.ReadConfigTask" classname="org.netbeans.modules.cordova.updatetask.ReadConfigTask"
classpath="${update.task.jar}" classpath="${update.task.jar}"
name="readconfig"/> name="readconfig"/>
<taskdef <taskdef
classname="org.netbeans.modules.cordova.updatetask.PluginTask" classname="org.netbeans.modules.cordova.updatetask.PluginTask"
classpath="${update.task.jar}" classpath="${update.task.jar}"
name="plugintask"/> name="plugintask"/>
<target name="check-cordova-version"> <target name="check-cordova-version">
<property environment="env"/> <property environment="env"/>
<checkVersion first="${cordova.version}" property="cordova.ver.3"/> <checkVersion first="${cordova.version}" property="cordova.ver.3"/>
<fail message="Cordova version 3 or greater required." unless="cordova.ver.3"/> <fail message="Cordova version 3 or greater required." unless="cordova.ver.3"/>
<readconfig/> <readconfig/>
<forDevice/> <forDevice/>
</target> </target>
<target name="check-android-template"> <target name="check-android-template">
<available file="platforms/android" property="android.generated.exists"/> <available file="platforms/android" property="android.generated.exists"/>
</target> </target>
@ -120,27 +120,27 @@
<target name="check-ios-template"> <target name="check-ios-template">
<available file="platforms/ios" property="ios.generated.exists"/> <available file="platforms/ios" property="ios.generated.exists"/>
</target> </target>
<target name="create-android" depends="check-android-template,check-cordova-version,upgrade-to-cordova-project" unless="android.generated.exists"> <target name="create-android" depends="check-android-template,check-cordova-version,upgrade-to-cordova-project" unless="android.generated.exists">
<echo level="info" message="${cordova.command} -d platform add android"/> <echo level="info" message="${cordova.command} -d platform add android"/>
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true"> <exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/> <env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
<env key="JAVA_HOME" path="${jdk.home}"/> <env key="JAVA_HOME" path="${jdk.home}"/>
<arg value="-d"/> <arg value="-d"/>
<arg value="platform"/> <arg value="platform"/>
<arg value="add"/> <arg value="add"/>
<arg value="android"/> <arg value="android"/>
</exec> </exec>
</target> </target>
<target name="create-ios" depends="check-ios-template,check-cordova-version,upgrade-to-cordova-project" unless="ios.generated.exists"> <target name="create-ios" depends="check-ios-template,check-cordova-version,upgrade-to-cordova-project" unless="ios.generated.exists">
<echo level="info" message="${cordova.command} -d platform add ios"/> <echo level="info" message="${cordova.command} -d platform add ios"/>
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" dir="." failonerror="true"> <exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" dir="." failonerror="true">
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/> <env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
<env key="JAVA_HOME" path="${jdk.home}"/> <env key="JAVA_HOME" path="${jdk.home}"/>
<arg value="-d"/> <arg value="-d"/>
<arg value="platform"/> <arg value="platform"/>
<arg value="add"/> <arg value="add"/>
<arg value="ios"/> <arg value="ios"/>
</exec> </exec>
</target> </target>
@ -154,23 +154,23 @@
<exec executable="xcodebuild" dir="platforms/ios" failonerror="true"> <exec executable="xcodebuild" dir="platforms/ios" failonerror="true">
<arg value="-project"/> <arg value="-project"/>
<arg value="${project.name}.xcodeproj"/> <arg value="${project.name}.xcodeproj"/>
<arg value="ARCHS=${ios.build.arch}"/> <arg value="ARCHS=${ios.build.arch}"/>
<arg value="-target"/> <arg value="-target"/>
<arg value="${project.name}"/> <arg value="${project.name}"/>
<arg value="-configuration"/> <arg value="-configuration"/>
<arg value="Release"/> <arg value="Release"/>
<arg value="-sdk"/> <arg value="-sdk"/>
<arg value="${ios.build.sdk}" /> <arg value="${ios.build.sdk}" />
<arg value="build"/> <arg value="build"/>
<arg value="CONFIGURATION_BUILD_DIR=${path}"/> <arg value="CONFIGURATION_BUILD_DIR=${path}"/>
</exec> </exec>
</target> </target>
<target name="build-ios-ipa" if="build.for.device"> <target name="build-ios-ipa" if="build.for.device">
<exec executable="xcrun" dir="platforms/ios/build" failonerror="true"> <exec executable="xcrun" dir="platforms/ios/build" failonerror="true">
<env key="CODESIGN_ALLOCATE" value="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate" /> <env key="CODESIGN_ALLOCATE" value="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate" />
<arg value="-sdk"/> <arg value="-sdk"/>
<arg value="${ios.build.sdk}" /> <arg value="${ios.build.sdk}" />
<arg value="PackageApplication"/> <arg value="PackageApplication"/>
<arg value="-v"/> <arg value="-v"/>
<arg value="${project.name}.app"/> <arg value="${project.name}.app"/>
@ -184,15 +184,15 @@
<available file="${basedir}/platforms/ios/build/${project.name}.ipa" property="ipa.found"/> <available file="${basedir}/platforms/ios/build/${project.name}.ipa" property="ipa.found"/>
<fail unless="ipa.found" message="PackageApplication failed."/> <fail unless="ipa.found" message="PackageApplication failed."/>
</target> </target>
<target name="sim-ios" depends="build-ios,ios-run-device,ios-run-simulator"> <target name="sim-ios" depends="build-ios,ios-run-device,ios-run-simulator">
</target> </target>
<target name="ios-run-device" if="build.for.device"> <target name="ios-run-device" if="build.for.device">
<echo> <echo>
Install "${basedir}/platforms/ios/build/${project.name}.ipa" through iTunes and run it. Install "${basedir}/platforms/ios/build/${project.name}.ipa" through iTunes and run it.
</echo> </echo>
<exec executable="open" failonerror="true"> <exec executable="open" failonerror="true">
<arg value="${basedir}/platforms/ios/build/${project.name}.ipa"/> <arg value="${basedir}/platforms/ios/build/${project.name}.ipa"/>
</exec> </exec>
@ -204,13 +204,13 @@
</exec> </exec>
<exec executable="${ios.sim.exec}" dir="platforms/ios/build"> <exec executable="${ios.sim.exec}" dir="platforms/ios/build">
<arg line="launch ${project.name}.app ${ios.device.args} --exit"/> <arg line="launch ${project.name}.app ${ios.device.args} --exit"/>
</exec> </exec>
</target> </target>
<target name="update-plugins"> <target name="update-plugins">
<plugintask/> <plugintask/>
</target> </target>
<target name="update-android"> <target name="update-android">
<echo level="info" message="${cordova.command} prepare android"/> <echo level="info" message="${cordova.command} prepare android"/>
@ -220,9 +220,9 @@
<arg value="prepare"/> <arg value="prepare"/>
<arg value="android"/> <arg value="android"/>
</exec> </exec>
</target> </target>
<target name="update-ios"> <target name="update-ios">
<echo level="info" message="${cordova.command} prepare ios"/> <echo level="info" message="${cordova.command} prepare ios"/>
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true"> <exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
@ -231,21 +231,21 @@
<arg value="prepare"/> <arg value="prepare"/>
<arg value="ios"/> <arg value="ios"/>
</exec> </exec>
</target> </target>
<target name="rebuild-android" depends="clean-android,build-android"/> <target name="rebuild-android" depends="clean-android,build-android"/>
<target name="build-android" depends="create-android,update-plugins"> <target name="build-android" depends="create-android,update-plugins">
<echo level="info" message="${cordova.command} -d build android"/> <echo level="info" message="${cordova.command} -d build android"/>
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true"> <exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
<env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/> <env key="${cordova.path.key}" path="${cordova.path.value}:${android.sdk.home}/tools:${android.sdk.home}/platform-tools:${jdk.home}/bin:${ant.home}/bin:${jdk.home}/bin"/>
<env key="JAVA_HOME" path="${jdk.home}"/> <env key="JAVA_HOME" path="${jdk.home}"/>
<arg value="-d"/> <arg value="-d"/>
<arg value="build"/> <arg value="build"/>
<arg value="android"/> <arg value="android"/>
</exec> </exec>
</target> </target>
<target name="sim-android" depends="create-android,update-plugins"> <target name="sim-android" depends="create-android,update-plugins">
<echo level="info" message="${cordova.command} -d ${android.target.device.arg} android"/> <echo level="info" message="${cordova.command} -d ${android.target.device.arg} android"/>
<exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true"> <exec executable="${cordova.command}" resolveexecutable="true" searchpath="true" failonerror="true">
@ -253,16 +253,16 @@
<env key="JAVA_HOME" path="${jdk.home}"/> <env key="JAVA_HOME" path="${jdk.home}"/>
<arg value="-d"/> <arg value="-d"/>
<arg value="${android.target.device.arg}"/> <arg value="${android.target.device.arg}"/>
<arg value="android"/> <arg value="android"/>
</exec> </exec>
</target> </target>
<target name="clean-android" depends="check-android-template" if="android.generated.exists"> <target name="clean-android" depends="check-android-template" if="android.generated.exists">
<exec executable="./gradlew" dir="platforms/android"> <exec executable="./gradlew" dir="platforms/android">
<arg value="clean" /> <arg value="clean" />
</exec> </exec>
</target> </target>
<target name="clean-ios" depends="check-ios-template" if="ios.generated.exists"> <target name="clean-ios" depends="check-ios-template" if="ios.generated.exists">
<exec executable="platforms/ios/cordova/clean" /> <exec executable="platforms/ios/cordova/clean" />
</target> </target>

@ -1,7 +1,7 @@
auxiliary.org-netbeans-modules-cordova.cordova_5f_build_5f_script_5f_version=52 auxiliary.org-netbeans-modules-cordova.cordova_5f_build_5f_script_5f_version=52
auxiliary.org-netbeans-modules-cordova.phonegap=true auxiliary.org-netbeans-modules-cordova.phonegap=true
file.reference.Lecte-test=test file.reference.CommunityVotingApp-test=test
file.reference.Lecte-www=www file.reference.CommunityVotingApp-www=www
files.encoding=UTF-8 files.encoding=UTF-8
project.license=mpl project.license=mpl
site.root.folder=${file.reference.Lecte-www} site.root.folder=${file.reference.CommunityVotingApp-www}

@ -3,7 +3,7 @@
<type>org.netbeans.modules.web.clientproject</type> <type>org.netbeans.modules.web.clientproject</type>
<configuration> <configuration>
<data xmlns="http://www.netbeans.org/ns/clientside-project/1"> <data xmlns="http://www.netbeans.org/ns/clientside-project/1">
<name>Lecte</name> <name>CommunityVotingApp</name>
</data> </data>
</configuration> </configuration>
</project> </project>

@ -13,8 +13,8 @@ initPlatform();
var app = new Framework7({ var app = new Framework7({
root: "#app", root: "#app",
name: "Lecte", name: "CommunityVotingApp",
id: "vote.lecte.Lecte", id: "com.netsyms.CommunityVotingApp",
theme: platform_theme, theme: platform_theme,
card: { card: {
swipeToClose: false swipeToClose: false

@ -5,7 +5,7 @@ This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/. file, You can obtain one at http://mozilla.org/MPL/2.0/.
--> -->
<title>Lecte</title> <title>CommunityVotingApp</title>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="assets/images/icons/logo.svg" /> <link rel="icon" href="assets/images/icons/logo.svg" />

@ -22,7 +22,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
<div class="block"> <div class="block">
<p>This program is licensed under the Mozilla Public License 2.0. <p>This program is licensed under the Mozilla Public License 2.0.
To get the source code, visit https://source.netsyms.com/Netsyms/Lecte. To get the source code, visit https://source.netsyms.com/Netsyms/CommunityVotingApp.
<br> <br>
This application relies on and is bundled with third-party code. This application relies on and is bundled with third-party code.
See below for the their licenses and where to find source code. See below for the their licenses and where to find source code.

@ -15,7 +15,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
<span class="if-not-md">Back</span> <span class="if-not-md">Back</span>
</a> </a>
</div> --> </div> -->
<div class="title">Lecte</div> <div class="title">CommunityVotingApp</div>
</div> </div>
</div> </div>

@ -10,7 +10,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
<div class="navbar"> <div class="navbar">
<div class="navbar-bg"></div> <div class="navbar-bg"></div>
<div class="navbar-inner"> <div class="navbar-inner">
<div class="title">Lecte</div> <div class="title">CommunityVotingApp</div>
</div> </div>
</div> </div>

@ -10,7 +10,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
<div class="navbar"> <div class="navbar">
<div class="navbar-bg"></div> <div class="navbar-bg"></div>
<div class="navbar-inner"> <div class="navbar-inner">
<div class="title">Lecte</div> <div class="title">CommunityVotingApp</div>
</div> </div>
</div> </div>

@ -10,7 +10,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
<div class="navbar"> <div class="navbar">
<div class="navbar-bg"></div> <div class="navbar-bg"></div>
<div class="navbar-inner"> <div class="navbar-inner">
<div class="title">Lecte</div> <div class="title">CommunityVotingApp</div>
</div> </div>
</div> </div>

Loading…
Cancel
Save