Commit bcdb561f authored by Jurriën Stutterheim's avatar Jurriën Stutterheim

Revert "Add Sencha Cmd infrastructure"

This reverts commit bb69ff887f8652b74cb6096d51b7e9ca48d955a8.

git-svn-id: https://svn.cs.ru.nl/repos/iTask-system/trunk@2353 63da3aa8-80fd-4f01-9db8-e6ea747a3da2
parent 4a2e628d
This diff is collapsed.
<project basedir=".">
<!--
This file can be freely edited, so long as the <import file="${sencha.workspace.config.dir}/plugin.xml"/>
statement is not removed.
One of the purposes of this file is to hook various Sencha Command operations and do
processing before or after the command is processed. To do this, simply provide the
logic in a <target> using one of these names:
-before-generate-app Called before an application is generated
-after-generate-app Called after an application is generated
-before-generate-controller Called before a controller is generated
-after-generate-controller Called after a controller is generated
-before-generate-model Called before a model is generated
-after-generate-model Called after a model is generated
-before-generate-profile Called before a profile is generated
-after-generate-profile Called after a profile is generated
-->
<import file="${workspace.config.dir}/plugin.xml"/>
<!--
<target name="-after-generate-model">
... use ${args.path}, ${args.name} and ${args.fields} as needed ...
</target>
Other targets are similar. There are properties prefixed with "args." and the name of
the command line option that hold the parameters for the command.
-->
</project>
\ No newline at end of file
#Fri, 15 Feb 2013 11:29:43 +0100
app.name=itwc
app.framework=ext
app.classpath=${app.dir}/app
app.cmd.version=3.0.2.288
<project basedir=".">
<import file="${framework.config.dir}/plugin.xml"/>
</project>
\ No newline at end of file
#Fri, 15 Feb 2013 11:29:31 +0100
# This configuration property (if set) is included by default in all compile commands
# executed according to this formulation:
#
# sencha compile -classpath=...,${framework.classpath},${workspace.classpath},${app.classpath}
#
#workspace.classpath=
workspace.build.dir=${workspace.dir}/build/${app.name}
ext.dir=${workspace.dir}/ext
workspace.cmd.version=3.0.2.288
JSFILES=$(shell find app/ -type f -name '*.js')
BUILDCMD=sencha app build
default: testing
testing: $(JSFILES)
$(BUILDCMD) -e testing
cp build/itwc/testing/all-classes.js .
production: $(JSFILES)
$(BUILDCMD)
cp build/itwc/testing/all-classes.js .
clean:
rm -rf build
.PHONY: clean
Ext.application({
name: 'itwc', //iTasks Web Client
appFolder: 'app',
//Apply patches
requires: ['itwc.patch.grid.View'
,'itwc.patch.layout.Context'],
//Core controller that syncs with server-side session state
controllers: ['Controller'],
//On launch, create the viewport
launch: function() {
Ext.create('itwc.container.Viewport');
}
});
This diff is collapsed.
Ext.application({
//Core controller that syncs with server-side session state
controllers: ["Controller"],
views: ["Main"],
requires: ['itwc.patch.grid.View'
,'itwc.patch.layout.Context'],
name: 'itwc',
//autoCreateViewport: true
//On launch, create the viewport
launch: function() {
Ext.create('itwc.container.Viewport');
}
});
Ext.define('itwc.controller.Main', {
extend: 'Ext.app.Controller'
});
\ No newline at end of file
Ext.define("itwc.view.Main", {
extend: 'Ext.Component',
html: 'Hello, World!!'
});
\ No newline at end of file
Ext.define('itwc.view.Viewport', {
renderTo: Ext.getBody(),
extend: 'Ext.container.Viewport',
requires:[
'Ext.tab.Panel',
'Ext.layout.container.Border'
],
layout: {
type: 'border'
},
items: [{
region: 'west',
xtype: 'panel',
title: 'west',
width: 150
},{
region: 'center',
xtype: 'tabpanel',
items:[{
title: 'Center Tab 1'
}]
}]
});
\ No newline at end of file
Ext.Loader.addClassPathMappings({
"Ext": "ext/src",
"itwc": "app",
"Ext.ux.GroupTreeChunker": "ext/src/ux/GroupTabPanel.js"
});Ext.ClassManager.addNameAlternateMappings({
"Ext.ux.BoxReorderer": [],
"Ext.ux.grid.filter.Filter": [],
"Ext.ux.ajax.DataSimlet": [],
"Ext.ux.grid.TransformGrid": [],
"Ext.ux.FieldReplicator": [],
"Ext.ux.grid.filter.ListFilter": [],
"Ext.ux.ajax.XmlSimlet": [],
"Ext.ux.event.Driver": [],
"Ext.ux.DataView.DragSelector": [],
"Ext.ux.grid.menu.ListMenu": [],
"Ext.ux.GMapPanel": [],
"Ext.ux.form.MultiSelect": [
"Ext.ux.Multiselect"
],
"Ext.ux.DataView.LabelEditor": [],
"Ext.ux.GroupTabPanel": [],
"Ext.ux.grid.filter.StringFilter": [],
"Ext.ux.statusbar.ValidationStatus": [],
"Ext.ux.GroupTreeChunker": [],
"Ext.ux.layout.Center": [],
"Ext.ux.CheckColumn": [],
"Ext.ux.PreviewPlugin": [],
"itwc.view.Main": [],
"Ext.ux.DataView.Animated": [],
"itwc.view.Viewport": [],
"Ext.ux.ajax.SimXhr": [],
"Ext.ux.event.RecorderManager": [],
"Ext.ux.ProgressBarPager": [],
"Ext.ux.statusbar.StatusBar": [
"Ext.ux.StatusBar"
],
"Ext.ux.ajax.Simlet": [],
"Ext.ux.SlidingPager": [],
"itwc.controller.Main": [],
"Ext.ux.TabReorderer": [],
"Ext.ux.grid.filter.NumericFilter": [],
"Ext.ux.grid.menu.RangeMenu": [],
"Ext.ux.RowExpander": [],
"Ext.ux.event.Recorder": [],
"Ext.ux.event.Player": [],
"Ext.ux.ajax.SimManager": [],
"Ext.ux.grid.filter.BooleanFilter": [],
"Ext.ux.ToolbarDroppable": [],
"Ext.ux.event.Maker": [],
"Ext.ux.TabScrollerMenu": [],
"Ext.ux.IFrame": [],
"Ext.ux.DataView.Draggable": [],
"Ext.ux.TabCloseMenu": [],
"Ext.ux.form.SearchField": [],
"Ext.ux.LiveSearchGridPanel": [],
"Ext.ux.grid.filter.DateFilter": [],
"Ext.ux.TreePicker": [],
"Ext.ux.form.ItemSelector": [
"Ext.ux.ItemSelector"
],
"Ext.ux.ajax.JsonSimlet": [],
"Ext.ux.Spotlight": [],
"Ext.ux.grid.FiltersFeature": [],
"Ext.ux.data.PagingMemoryProxy": [
"Ext.data.PagingMemoryProxy"
]
});Ext.ClassManager.addNameAliasMappings({
"Ext.ux.BoxReorderer": [],
"Ext.ux.grid.filter.Filter": [],
"Ext.ux.ajax.DataSimlet": [],
"Ext.ux.grid.TransformGrid": [],
"Ext.ux.FieldReplicator": [],
"Ext.ux.grid.filter.ListFilter": [
"gridfilter.list"
],
"Ext.ux.ajax.XmlSimlet": [
"simlet.xml"
],
"Ext.ux.event.Driver": [],
"Ext.ux.DataView.DragSelector": [],
"Ext.ux.grid.menu.ListMenu": [],
"Ext.ux.GMapPanel": [
"widget.gmappanel"
],
"Ext.ux.form.MultiSelect": [
"widget.multiselectfield",
"widget.multiselect"
],
"Ext.ux.DataView.LabelEditor": [],
"Ext.ux.GroupTabPanel": [
"widget.grouptabpanel"
],
"Ext.ux.grid.filter.StringFilter": [
"gridfilter.string"
],
"Ext.ux.statusbar.ValidationStatus": [],
"Ext.ux.GroupTreeChunker": [],
"Ext.ux.layout.Center": [
"layout.ux.center"
],
"Ext.ux.CheckColumn": [
"widget.checkcolumn"
],
"Ext.ux.PreviewPlugin": [
"plugin.preview"
],
"itwc.view.Main": [],
"Ext.ux.DataView.Animated": [],
"itwc.view.Viewport": [],
"Ext.ux.ajax.SimXhr": [],
"Ext.ux.event.RecorderManager": [
"widget.eventrecordermanager"
],
"Ext.ux.ProgressBarPager": [],
"Ext.ux.statusbar.StatusBar": [
"widget.statusbar"
],
"Ext.ux.ajax.Simlet": [
"simlet.basic"
],
"Ext.ux.SlidingPager": [],
"itwc.controller.Main": [],
"Ext.ux.TabReorderer": [],
"Ext.ux.grid.filter.NumericFilter": [
"gridfilter.numeric"
],
"Ext.ux.grid.menu.RangeMenu": [],
"Ext.ux.RowExpander": [
"plugin.rowexpander"
],
"Ext.ux.event.Recorder": [],
"Ext.ux.event.Player": [],
"Ext.ux.ajax.SimManager": [],
"Ext.ux.grid.filter.BooleanFilter": [
"gridfilter.boolean"
],
"Ext.ux.ToolbarDroppable": [],
"Ext.ux.event.Maker": [],
"Ext.ux.TabScrollerMenu": [
"plugin.tabscrollermenu"
],
"Ext.ux.IFrame": [
"widget.uxiframe"
],
"Ext.ux.DataView.Draggable": [],
"Ext.ux.TabCloseMenu": [
"plugin.tabclosemenu"
],
"Ext.ux.form.SearchField": [
"widget.searchfield"
],
"Ext.ux.LiveSearchGridPanel": [],
"Ext.ux.grid.filter.DateFilter": [
"gridfilter.date"
],
"Ext.ux.TreePicker": [
"widget.treepicker"
],
"Ext.ux.form.ItemSelector": [
"widget.itemselectorfield",
"widget.itemselector"
],
"Ext.ux.ajax.JsonSimlet": [
"simlet.json"
],
"Ext.ux.Spotlight": [],
"Ext.ux.grid.FiltersFeature": [
"feature.filters"
],
"Ext.ux.data.PagingMemoryProxy": [
"proxy.pagingmemory"
]
});
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<project name="itwc" default=".help">
<import file="${basedir}/.sencha/app/build-impl.xml"/>
<!--
The following targets can be provided to inject logic before and/or after key steps
of the build process:
The "init-local" target is used to initialize properties that may be personalized
for the local machine.
<target name="-before-init-local"/>
<target name="-after-init-local"/>
The "clean" target is used to clean build output from the build.dir.
<target name="-before-clean"/>
<target name="-after-clean"/>
The general "init" target is used to initialize all other properties, including
those provided by Sencha Cmd.
<target name="-before-init"/>
<target name="-after-init"/>
The "page" target performs the call to Sencha Cmd to build the 'all-classes.js' file.
<target name="-before-page"/>
<target name="-after-page"/>
The "build" target performs the call to Sencha Cmd to build the application.
<target name="-before-build"/>
<target name="-after-build"/>
-->
</project>
......@@ -174,22 +174,18 @@ where
styles = [LinkTag [RelAttr "stylesheet", HrefAttr file, TypeAttr "text/css"] [] \\ file <- stylefiles]
scripts = [ScriptTag [SrcAttr file, TypeAttr "text/javascript"] [] \\ file <- scriptfiles]
stylefiles = ["ext/resources/css/ext-all-gray.css"
stylefiles = ["lib/extjs-4.1.0/resources/css/ext-all-gray.css"
,"lib/codemirror-2.36/codemirror.css"
,"css/icons.css"
,"css/app.css"
,appName +++ ".css"]
scriptfiles = ["app/taskeval/utils.js","app/taskeval/itask.js", //UGLY INCLUSION, MUST BE MERGED INTO ITWC FRAMEWORK
"app/taskeval/builtin.js","app/taskeval/sapl.js",
"app/taskeval/db.js", "app/taskeval/debug.js",
"all-classes.js"]
//scriptfiles = ["ext/ext-debug.js",
//"app/taskeval/utils.js","app/taskeval/itask.js", //UGLY INCLUSION, MUST BE MERGED INTO ITWC FRAMEWORK
//"app/taskeval/builtin.js","app/taskeval/sapl.js",
//"app/taskeval/db.js", "app/taskeval/debug.js",
//"lib/codemirror-2.36/codemirror.js",
//"app.js"]
//scriptfiles = ["/lib/ext/ext.js","/app-all.js"]
scriptfiles = ["lib/extjs-4.1.0/ext-debug.js",
"app/taskeval/utils.js","app/taskeval/itask.js", //UGLY INCLUSION, MUST BE MERGED INTO ITWC FRAMEWORK
"app/taskeval/builtin.js","app/taskeval/sapl.js",
"app/taskeval/db.js", "app/taskeval/debug.js",
"lib/codemirror-2.36/codemirror.js",
"app.js"]
//scriptfiles = ["/lib/ext-4.1.0/ext.js","/app-all.js"]
createDocumentsFromUploads [] iworld = ([],iworld)
createDocumentsFromUploads [(n,u):us] iworld
......@@ -197,4 +193,4 @@ where
| isError mbD = createDocumentsFromUploads us iworld
# (ds,iworld) = createDocumentsFromUploads us iworld
= ([fromOk mbD:ds],iworld)
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment