Skip to content

Commit

Permalink
initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dharmendra Kumar committed Nov 24, 2015
1 parent e953d11 commit 6b2ca78
Show file tree
Hide file tree
Showing 400 changed files with 39,169 additions and 0 deletions.
21 changes: 21 additions & 0 deletions License.txt
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2013 Kony

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
12 changes: 12 additions & 0 deletions SegementAnimation/.project
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>SegementAnimation</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>com.pat.tool.keditor.nature.kprojectnature</nature>
</natures>
</projectDescription>
Empty file.
Binary file added SegementAnimation/ant-contrib-0.6.jar
Binary file not shown.
1 change: 1 addition & 0 deletions SegementAnimation/appSettings.xml
@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><appSettingContainer><appSettingsGroups><name>common</name><render><desktop_kiosk_channel>true</desktop_kiosk_channel><desktop_web_channel>true</desktop_web_channel><mixed_android>true</mixed_android><mixed_android_tab>true</mixed_android_tab><mixed_bb>true</mixed_bb><mixed_ipad>true</mixed_ipad><mixed_iphone>true</mixed_iphone><rc_android>true</rc_android><rc_android_tab>true</rc_android_tab><rc_blackberry>true</rc_blackberry><rc_blackberry10>true</rc_blackberry10><rc_ipad>true</rc_ipad><rc_iphone>true</rc_iphone><rc_j2me>true</rc_j2me><rc_palm>true</rc_palm><rc_symbian>true</rc_symbian><rc_windows8>true</rc_windows8><rc_winmobile>true</rc_winmobile><rc_winmobile6x>true</rc_winmobile6x><rc_winphone8>true</rc_winphone8><rc_winphone81s>true</rc_winphone81s><tabspa_ipad>true</tabspa_ipad><tabspa_windows>true</tabspa_windows><tabspaspa_android>true</tabspaspa_android><tc_spaandroid>true</tc_spaandroid><tc_spabb>true</tc_spabb><tc_spabb_nth>true</tc_spabb_nth><tc_spaiphone>true</tc_spaiphone><tc_spawindows>true</tc_spawindows><tc_spawinphone8>true</tc_spawinphone8><tc_xhtml>true</tc_xhtml><tc_xhtml_advandroid1>true</tc_xhtml_advandroid1><tc_xhtml_advbb>true</tc_xhtml_advbb><tc_xhtml_adviphone1>true</tc_xhtml_adviphone1><tc_xhtml_advnth>true</tc_xhtml_advnth><tc_xhtml_advpalm1>true</tc_xhtml_advpalm1><tc_xhtml_js>true</tc_xhtml_js><wrapper_android>true</wrapper_android><wrapper_android_tab>true</wrapper_android_tab><wrapper_bb>true</wrapper_bb><wrapper_ipad>true</wrapper_ipad><wrapper_iphone>true</wrapper_iphone></render></appSettingsGroups></appSettingContainer>
112 changes: 112 additions & 0 deletions SegementAnimation/build.properties
@@ -0,0 +1,112 @@
#Note: Please escape '\' with '\\' in all file paths#
project.name=SegementAnimation

#mode 0-Build; 1-Publish; 2-Build & Publish; 3-Combine Web Application+Kony Server Archive; 4-Build & Combine Web Application+Kony Server Archive;
#mode-0: Application will be built for the selected build platforms
#mode-1: Based on publish.web, publish.service properties, app will be published & services will be published
#mode-2: Application will be built for selected build platforms and publish will be performed.
#mode-3: Combines web archive of app & kony server archive and generates combined war/ear file
#mode-4: Application will be built & Generated web archive will be combined with Kony server archive and final war/ear will be generated
mode=0

#Application details
appid=SegAnimation
version=1.0.0
map_google_key=
default_locale=
android.packagename=com.kony.SegmentAnimation

#Cloud credentials (Applicable only for cloud)
cloud.username=
cloud.password=

#Build app for below platforms
iphone=false
android=false
windowsphone8=false
windowsphone81s=false

windows8.1=false
windows8.1x86=false
windows8.1arm=false
windows8.1x64=false

ipad=false
androidtablet=false

desktop_kiosk=false
desktopweb=false

spa.iphone=false
spa.android=false
spa.blackberry=false
spa.winphone=false

spa.ipad=false
spa.androidtablet=false
spa.windowstablet=false


#middleware server properties
middleware_server_ip=192.168.56.1
middleware_http_port=80
middleware_https_port=443
#used in cloud mode
cloud.middleware.url=


middleware_web_context=middleware
mobileweb_web_context=SegementAnimation

#build mode [release | debug]
build.mode=release
remove.print.statements=true

#If not specified, by default final binaries will be copied to 'binaries' folder inside project
binaries.location=

#On premise publish parameters
Konyserver.publish.url=
Konyserver.publish.service=false
Konyserver.publish.web=false
#Kony server credentials
Konyserver.publish.username=
#Possible values are true/false
Konyserver.publish.password.encrypted=false
Konyserver.publish.password=

# Cloud publish parameters. Applicable for mode = 1 or 2 # Base url used for publishing example of the format http://accounts.konycloud.com/api/v1_0/environments/<envId>/
cloud.publish.url=
cloud.publish.app=false
cloud.publish.service=false
cloud.publish.sync=false
# Location of sync interceptor jar file to be published when sync option is true
# Separate with semicolon(;) if there are muliple jars
cloud.publish.sync.file=

#Combine Web Application+Kony Server Archive. Applicable for mode = 3 or 4 #
#Full path of middleware archive (war/ear).If project has Kony session Manager,
#provide with-cache archive, for Http session Manager, provide without-cache archive.
combinewar.middlewarearchive=
combinewar.context=
#combinewar.war,combinewar.ear are mutually exclusive(Only one of them should be true)
combinewar.war=false
combinewar.ear=false
#Provide full path of dependant libraries,Separate with semicolon(;) if there are multiple libraries
combinewar.dependencylibraries=

# Generate IPA
mac.ipaddress=
mac.username=
mac.password=

#Possible value Ex: provisioning.profile= KonyLaunchpadPush(com.kone.containerapp)
provisioning.profile=
keychain.password=
codesign.identity=

#Possible values are true/false
genipaiphone=false
genipaipad=false


133 changes: 133 additions & 0 deletions SegementAnimation/build.xml
@@ -0,0 +1,133 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="kony" basedir="." default="main">

<target name="main">
<property name="antjar.file" value="${basedir}/ant-contrib-0.6.jar"/>
<echo message="Looking for JAR antcontrib.jar at : ${antjar.file}"/>
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<pathelement location="${antjar.file}"/>
</classpath>
</taskdef>
<osfamily property="os.family"/>
<echo message="Started script..."/>
<property name="input.file" location="${basedir}/build.properties"/>

<if>
<available file="${basedir}/global.properties"/>
<then>
<property name="global.available" value="true"/>
</then>
<else>
<property name="global.available" value="false"/>
</else>
</if>


<if>
<equals arg1="${global.available}" arg2="true"/>
<then>
<property name="global.file" location="${basedir}/global.properties"/>
</then>
<else>
<property name="global.file" location="../global.properties"/>
</else>
</if>


<echo message="Global properties file LOCATION: ${global.file}"/>
<echo message="Build properties file LOCATION: ${input.file}"/>

<if>
<or>
<not>
<available file="${input.file}"/>
</not>
<not>
<available file="${global.file}"/>
</not>
</or>
<then>
<fail message="Either ${input.file}
or
${global.file}
doesn't exist"/>
</then>
</if>
<property file="${input.file}"/>
<property file="${global.file}"/>


<if>
<equals arg1="${workspace.location}" arg2=""/>
<then>
<property name = "ws.location" value ="../" />
</then>
<else>
<property name = "ws.location" value ="${workspace.location}"/>
</else>
</if>
<echo message="WORKSPACE LOCATION: ${ws.location}"/>
<if>
<equals arg1="${project.name}" arg2=""/>
<then>
<fail message="Project name is not given.
Please set 'project.name' property in ${input.file}"/>
</then>
<else>
<if>
<not>
<available file="${ws.location}/${project.name}" type="dir"/>
</not>
<then>
<fail message="Project '${project.name}' doesn't exist in ${ws.location}"/>
</then>
</if>
</else>
</if>


<if>
<equals arg1="${eclipse.equinox.path}" arg2=""/>
<then>
<fail message="Please set 'eclipse.equinox.path' property in ${global.file}"/>
</then>
<else>
<if>
<not>
<available file="${eclipse.equinox.path}"/>
</not>
<then>
<fail message="The path provided for 'eclipse.equinox.path' property in ${global.file} is not present.."/>
</then>
</if>
</else>
</if>

<if>
<equals arg1="${os.family}" arg2="windows"/>
<then>
<exec dir="." executable="cmd" failonerror="true">
<arg value="/c"/>
<arg value="run.bat"/>
<arg value="${input.file}"/>
<arg value="${ws.location}"/>
<arg value="${eclipse.equinox.path}"/>
<arg value="${global.file}"/>
</exec>
</then>
<else>
<exec dir="." executable="/bin/bash" failonerror="true">
<arg line='-c "chmod 777 run.sh"'/>
</exec>
<exec dir="." executable="/bin/bash" failonerror="true">
<arg line='-c "sh run.sh ${input.file} ${ws.location} ${eclipse.equinox.path} ${global.file}"'/>
</exec>
</else>
</if>

<echo message="Ending script..."/>

</target>

</project>
1 change: 1 addition & 0 deletions SegementAnimation/context.properties
@@ -0,0 +1 @@
#Tue Oct 27 16:34:55 IST 2015
6 changes: 6 additions & 0 deletions SegementAnimation/defaults/defaults.properties
@@ -0,0 +1,6 @@
#
#Tue Oct 27 16:34:55 IST 2015
KForm.win_transitionMode=Parallel
KForm.win_outtransition=Slide
KForm.win_intransition=Slide
KForm.win_animateheaderfooter=false
@@ -0,0 +1,49 @@
{
"@class": "com.kony.gen.viz.model.component.KVizButton",
"DNDConfig": null,
"__parentReadjusting__": false,
"_height_": {
"type": "string",
"value": "50dp"
},
"_left_": {
"type": "string",
"value": "42dp"
},
"_margin_": [
6,
6,
6,
6
],
"_padding_": [
0,
0,
0,
0
],
"_skin_": "s6d535603ce146388ebc34afc428e69a",
"_text_": "Button",
"_top_": {
"type": "string",
"value": "98dp"
},
"_width_": {
"type": "string",
"value": "260dp"
},
"canUpdateUI": true,
"containerweight": 100,
"contentalignment": 5,
"displaytext": true,
"focusskin": "s4e0322e4f174715887416830e0a11a1",
"id": "Button0ce1d574251ee4e",
"ide_onClick": "AS_Button_22e8acb8adc447c6af2cf12b3878f275",
"info": null,
"isvisible": true,
"kuid": "a0befb19ac844649bcc9e5a1cc7df446",
"name": "kony.ui.Button",
"parent": "Form00a240e66adfc4e",
"pf": "Form00a240e66adfc4e",
"wType": "Button"
}

0 comments on commit 6b2ca78

Please sign in to comment.