PDA

View Full Version : Paths in jsb3 files



gcallaghan
21 Dec 2010, 9:41 AM
Are the paths in the jsb3 configuration files relative to the location of the jsb3 file, or relative to the location the jsbuilder command is run?

gcallaghan
22 Dec 2010, 11:17 AM
Looks like they are relative to the jsb3 file.

@edspencer
The builder was soo much easier than I expected. Seemed daunting from the lack of documentation, but really very simple to get in and experiment with. Good job Ed!

gcallaghan
22 Dec 2010, 11:21 AM
Oh, and I really like that I can use '*.js' to specify files as well as helpful warnings like duplicate parameters.

wellsbr01
22 Dec 2010, 4:45 PM
Yes, gcallaghan, they are relative to the jsb3 file.

And there's trouble if your paths are not the simpler in Windows environments. A path with blank spaces gave me errors.

gcallaghan
22 Dec 2010, 5:53 PM
I'm not a masochist so I don't develop in a windows environment!:D

Although, I am curious, did you escape the spaces?
i.e.

path:'my\ path\ has\ spaces.js'...

wellsbr01
22 Dec 2010, 6:16 PM
Hahahaha, nice, nice...

Well, the paths in the file were ok, just off the box, it wasn't the case to escape them. The problem was that I installed Sencha itself in a composite path, then it got some kind of trouble with the packages location. Moving it to a simpler path got it done. It was quite unexpected tough, because everything else worked just fine there. Maybe, jsbuilder itself got in trouble dealing with those composite paths and calculating the absolute paths from the relative ones in the file, I guess.

shashidhar
11 May 2011, 10:42 PM
Hi all,
Please any one help me.
I create jsb3 file using sencha sdk tool but when i build it, it create three file
1- app-classess.js (it is blank)
2- app-all.js (it is also blank)
3 - app-all.js-temp-383915244031.44684 (also blank)
my project is in E:/Workspacemavem/ folder.

Commands are:-
sencha create jsb -a E:/WorkspaceMaven/project_name/src/main/webapp/index.html -p app.jsb3

sencha build -p E:/WorkspaceMaven/project_name/app.jsb3 -d E:/WorkspaceMaven/project_name/deploy/

Please any one tell me where i m doing mistake.

my jsb3 file is here

{
"projectName": "Project name",
"licenseText": "Copyright(c) 2011 comapny.",
"builds": [
{
"name": "All Classes",
"target": "all-classes.js",
"options": {
"debug": true
},
"files": [
{
"path": "ext-4.0/src/util/",
"name": "Observable.js"
},
{
"path": "ext-4.0/src/data/",
"name": "Association.js"
},
{
"path": "ext-4.0/src/data/",
"name": "Operation.js"
},
{
"path": "ext-4.0/src/data/",
"name": "validations.js"
},
{
"path": "ext-4.0/src/util/",
"name": "HashMap.js"
},
{
"path": "ext-4.0/src/data/",
"name": "SortTypes.js"
},
{
"path": "ext-4.0/src/data/",
"name": "Connection.js"
},
{
"path": "ext-4.0/src/util/",
"name": "Filter.js"
},
{
"path": "ext-4.0/src/util/",
"name": "Sorter.js"
},
{
"path": "ext-4.0/src/data/writer/",
"name": "Writer.js"
},
{
"path": "ext-4.0/src/util/",
"name": "KeyMap.js"
},
{
"path": "ext-4.0/src/data/",
"name": "ResultSet.js"
},
{
"path": "ext-4.0/src/fx/",
"name": "CubicBezier.js"
},
{
"path": "ext-4.0/src/panel/",
"name": "Proxy.js"
},
{
"path": "ext-4.0/src/",
"name": "Template.js"
},
{
"path": "ext-4.0/src/fx/",
"name": "Queue.js"
},
{
"path": "ext-4.0/src/dd/",
"name": "StatusProxy.js"
},
{
"path": "ext-4.0/src/",
"name": "ZIndexManager.js"
},
{
"path": "ext-4.0/src/",
"name": "ComponentQuery.js"
},
{
"path": "ext-4.0/src/util/",
"name": "KeyNav.js"
},
{
"path": "ext-4.0/src/fx/target/",
"name": "Target.js"
},
{
"path": "ext-4.0/src/draw/",
"name": "Color.js"
},
{
"path": "ext-4.0/src/layout/",
"name": "Layout.js"
},
{
"path": "ext-4.0/src/util/",
"name": "Floating.js"
},
{
"path": "ext-4.0/src/layout/container/boxOverflow/",
"name": "None.js"
},
{
"path": "ext-4.0/src/util/",
"name": "Offset.js"
},
{
"path": "ext-4.0/src/util/",
"name": "Animate.js"
},
{
"path": "ext-4.0/src/layout/container/",
"name": "AbstractContainer.js"
},
{
"path": "ext-4.0/src/util/",
"name": "ClickRepeater.js"
},
{
"path": "ext-4.0/src/",
"name": "ElementLoader.js"
},
{
"path": "ext-4.0/src/util/",
"name": "TextMetrics.js"
},
{
"path": "ext-4.0/src/state/",
"name": "Provider.js"
},
{
"path": "ext-4.0/src/app/",
"name": "Controller.js"
},
{
"path": "ext-4.0/src/app/",
"name": "EventBus.js"
},
{
"path": "ext-4.0/src/",
"name": "AbstractManager.js"
},
{
"path": "ext-4.0/src/",
"name": "ModelManager.js"
},
{
"path": "ext-4.0/src/",
"name": "ComponentManager.js"
},
{
"path": "ext-4.0/src/data/",
"name": "Types.js"
},
{
"path": "ext-4.0/src/data/",
"name": "Field.js"
},
{
"path": "ext-4.0/src/",
"name": "Ajax.js"
},
{
"path": "ext-4.0/src/util/",
"name": "AbstractMixedCollection.js"
},
{
"path": "ext-4.0/src/util/",
"name": "Sortable.js"
},
{
"path": "ext-4.0/src/util/",
"name": "MixedCollection.js"
},
{
"path": "ext-4.0/src/data/",
"name": "StoreManager.js"
},
{
"path": "ext-4.0/src/data/",
"name": "Errors.js"
},
{
"path": "ext-4.0/src/data/writer/",
"name": "Json.js"
},
{
"path": "ext-4.0/src/data/reader/",
"name": "Reader.js"
},
{
"path": "ext-4.0/src/data/reader/",
"name": "Json.js"
},
{
"path": "ext-4.0/src/data/proxy/",
"name": "Proxy.js"
},
{
"path": "ext-4.0/src/data/proxy/",
"name": "Server.js"
},
{
"path": "ext-4.0/src/data/proxy/",
"name": "Ajax.js"
},
{
"path": "ext-4.0/src/data/",
"name": "Model.js"
},
{
"path": "ext-4.0/src/",
"name": "XTemplate.js"
},
{
"path": "ext-4.0/src/fx/",
"name": "Easing.js"
},
{
"path": "ext-4.0/src/",
"name": "FocusManager.js"
},
{
"path": "ext-4.0/src/fx/target/",
"name": "Element.js"
},
{
"path": "ext-4.0/src/fx/target/",
"name": "CompositeElement.js"
},
{
"path": "ext-4.0/src/fx/target/",
"name": "Sprite.js"
},
{
"path": "ext-4.0/src/fx/target/",
"name": "CompositeSprite.js"
},
{
"path": "ext-4.0/src/fx/target/",
"name": "Component.js"
},
{
"path": "ext-4.0/src/fx/",
"name": "Manager.js"
},
{
"path": "ext-4.0/src/fx/",
"name": "Animator.js"
},
{
"path": "ext-4.0/src/draw/",
"name": "Draw.js"
},
{
"path": "ext-4.0/src/fx/",
"name": "PropertyHandler.js"
},
{
"path": "ext-4.0/src/fx/",
"name": "Anim.js"
},
{
"path": "ext-4.0/src/layout/component/",
"name": "Component.js"
},
{
"path": "ext-4.0/src/layout/component/",
"name": "AbstractDock.js"
},
{
"path": "ext-4.0/src/layout/component/",
"name": "Dock.js"
},
{
"path": "ext-4.0/src/layout/component/",
"name": "Tip.js"
},
{
"path": "ext-4.0/src/util/",
"name": "Region.js"
},
{
"path": "ext-4.0/src/dd/",
"name": "DragDropManager.js"
},
{
"path": "ext-4.0/src/layout/container/",
"name": "Container.js"
},
{
"path": "ext-4.0/src/layout/container/",
"name": "Auto.js"
},
{
"path": "ext-4.0/src/layout/container/boxOverflow/",
"name": "Scroller.js"
},
{
"path": "ext-4.0/src/dd/",
"name": "DragDrop.js"
},
{
"path": "ext-4.0/src/dd/",
"name": "DD.js"
},
{
"path": "ext-4.0/src/dd/",
"name": "DDProxy.js"
},
{
"path": "ext-4.0/src/dd/",
"name": "DragSource.js"
},
{
"path": "ext-4.0/src/panel/",
"name": "DD.js"
},
{
"path": "ext-4.0/src/",
"name": "PluginManager.js"
},
{
"path": "ext-4.0/src/",
"name": "LoadMask.js"
},
{
"path": "ext-4.0/src/",
"name": "ComponentLoader.js"
},
{
"path": "ext-4.0/src/layout/component/",
"name": "Auto.js"
},
{
"path": "ext-4.0/src/state/",
"name": "Manager.js"
},
{
"path": "ext-4.0/src/state/",
"name": "Stateful.js"
},
{
"path": "ext-4.0/src/",
"name": "AbstractComponent.js"
},
{
"path": "ext-4.0/src/",
"name": "Component.js"
},
{
"path": "ext-4.0/src/container/",
"name": "AbstractContainer.js"
},
{
"path": "ext-4.0/src/container/",
"name": "Container.js"
},
{
"path": "ext-4.0/src/panel/",
"name": "Header.js"
},
{
"path": "ext-4.0/src/toolbar/",
"name": "Fill.js"
},
{
"path": "ext-4.0/src/toolbar/",
"name": "Item.js"
},
{
"path": "ext-4.0/src/toolbar/",
"name": "Separator.js"
},
{
"path": "ext-4.0/src/menu/",
"name": "Manager.js"
},
{
"path": "ext-4.0/src/layout/component/",
"name": "Button.js"
},
{
"path": "ext-4.0/src/button/",
"name": "Button.js"
},
{
"path": "ext-4.0/src/layout/container/boxOverflow/",
"name": "Menu.js"
},
{
"path": "ext-4.0/src/layout/container/",
"name": "Box.js"
},
{
"path": "ext-4.0/src/layout/container/",
"name": "HBox.js"
},
{
"path": "ext-4.0/src/layout/container/",
"name": "VBox.js"
},
{
"path": "ext-4.0/src/toolbar/",
"name": "Toolbar.js"
},
{
"path": "ext-4.0/src/panel/",
"name": "AbstractPanel.js"
},
{
"path": "ext-4.0/src/panel/",
"name": "Panel.js"
},
{
"path": "ext-4.0/src/tip/",
"name": "Tip.js"
},
{
"path": "ext-4.0/src/tip/",
"name": "ToolTip.js"
},
{
"path": "ext-4.0/src/tip/",
"name": "QuickTip.js"
},
{
"path": "ext-4.0/src/tip/",
"name": "QuickTipManager.js"
},
{
"path": "ext-4.0/src/app/",
"name": "Application.js"
},
{
"path": "ext-4.0/src/util/",
"name": "Point.js"
},
{
"path": "ext-4.0/src/",
"name": "Layer.js"
},
{
"path": "ext-4.0/src/data/",
"name": "Batch.js"
},
{
"path": "ext-4.0/src/data/",
"name": "Request.js"
},
{
"path": "ext-4.0/src/resizer/",
"name": "Resizer.js"
},
{
"path": "ext-4.0/src/panel/",
"name": "Tool.js"
},
{
"path": "ext-4.0/src/util/",
"name": "CSS.js"
},
{
"path": "ext-4.0/src/dd/",
"name": "DragTracker.js"
},
{
"path": "ext-4.0/src/layout/component/",
"name": "Draw.js"
},
{
"path": "ext-4.0/src/menu/",
"name": "Item.js"
},
{
"path": "ext-4.0/src/menu/",
"name": "KeyNav.js"
},
{
"path": "ext-4.0/src/menu/",
"name": "Separator.js"
},
{
"path": "ext-4.0/src/data/",
"name": "AbstractStore.js"
},
{
"path": "ext-4.0/src/util/",
"name": "Grouper.js"
},
{
"path": "ext-4.0/src/draw/",
"name": "CompositeSprite.js"
},
{
"path": "ext-4.0/src/layout/container/",
"name": "AbstractFit.js"
},
{
"path": "ext-4.0/src/util/",
"name": "ComponentDragger.js"
},
{
"path": "ext-4.0/src/window/",
"name": "Window.js"
},
{
"path": "ext-4.0/src/data/",
"name": "Store.js"
},
{
"path": "ext-4.0/src/data/",
"name": "ArrayStore.js"
},
{
"path": "ext-4.0/src/draw/",
"name": "Surface.js"
},
{
"path": "ext-4.0/src/draw/",
"name": "Component.js"
},
{
"path": "ext-4.0/src/layout/container/",
"name": "Fit.js"
},
{
"path": "ext-4.0/src/menu/",
"name": "CheckItem.js"
},
{
"path": "ext-4.0/src/menu/",
"name": "Menu.js"
},
{
"path": "ext-4.0/src/resizer/",
"name": "ResizeTracker.js"
},
{
"path": "ext-4.0/src/data/reader/",
"name": "Array.js"
},
{
"path": "ext-4.0/src/",
"name": "ShadowPool.js"
},
{
"path": "ext-4.0/src/data/proxy/",
"name": "Client.js"
},
{
"path": "ext-4.0/src/draw/",
"name": "Matrix.js"
},
{
"path": "ext-4.0/src/draw/",
"name": "SpriteDD.js"
},
{
"path": "ext-4.0/src/",
"name": "Shadow.js"
},
{
"path": "ext-4.0/src/data/proxy/",
"name": "Memory.js"
},
{
"path": "ext-4.0/src/draw/",
"name": "Sprite.js"
},
{
"path": "ext-4.0/src/draw/engine/",
"name": "Svg.js"
},
{
"path": "ext-4.0/src/draw/engine/",
"name": "Vml.js"
},
{
"path": "app/model/",
"name": "MessageResource.js"
},
{
"path": "app/model/",
"name": "WebMenu.js"
},
{
"path": "app/model/",
"name": "Label.js"
},
{
"path": "app/model/",
"name": "LabelValue.js"
},
{
"path": "app/model/",
"name": "Account.js"
},
{
"path": "app/model/",
"name": "SubCategoryValue.js"
},
{
"path": "app/model/",
"name": "Creative.js"
},
{
"path": "app/model/report/",
"name": "AccountBudget.js"
},
{
"path": "app/model/",
"name": "User.js"
},
{
"path": "app/model/",
"name": "Agency.js"
},
{
"path": "ext-4.0/src/layout/container/",
"name": "Table.js"
},
{
"path": "ext-4.0/src/form/",
"name": "Label.js"
},
{
"path": "ext-4.0/src/toolbar/",
"name": "Spacer.js"
},
{
"path": "ext-4.0/src/panel/",
"name": "Table.js"
},
{
"path": "ext-4.0/src/data/",
"name": "Tree.js"
},
{
"path": "ext-4.0/src/data/",
"name": "NodeInterface.js"
},
{
"path": "ext-4.0/src/data/",
"name": "NodeStore.js"
},
{
"path": "ext-4.0/src/form/",
"name": "Labelable.js"
},
{
"path": "ext-4.0/src/form/",
"name": "FieldAncestor.js"
},
{
"path": "ext-4.0/src/form/",
"name": "RadioManager.js"
},
{
"path": "ext-4.0/src/chart/theme/",
"name": "Theme.js"
},
{
"path": "ext-4.0/src/chart/",
"name": "Label.js"
},
{
"path": "ext-4.0/src/chart/",
"name": "Highlight.js"
},
{
"path": "ext-4.0/src/chart/",
"name": "Callout.js"
},
{
"path": "ext-4.0/src/container/",
"name": "Viewport.js"
},
{
"path": "app/view/",
"name": "LoginWindow.js"
},
{
"path": "app/view/",
"name": "BasePanel.js"
},
{
"path": "app/store/",
"name": "MessageResources.js"
},
{
"path": "app/store/",
"name": "Accounts.js"
},
{
"path": "app/store/",
"name": "WebMenus.js"
},
{
"path": "app/store/",
"name": "Labels.js"
},
{
"path": "app/store/",
"name": "LabelValues.js"
},
{
"path": "app/store/",
"name": "Campaigns.js"
},
{
"path": "app/store/",
"name": "Categories.js"
},
{
"path": "app/store/",
"name": "SubCategories.js"
},
{
"path": "app/store/",
"name": "SubCategoryValues.js"
},
{
"path": "app/view/label/",
"name": "CreateWindow.js"
},
{
"path": "app/view/label/",
"name": "CreateValueWindow.js"
},
{
"path": "app/view/",
"name": "HeaderPanel.js"
},
{
"path": "app/store/",
"name": "Users.js"
},
{
"path": "app/view/advertisement/",
"name": "CreativesForm.js"
},
{
"path": "app/view/report/",
"name": "Dashboard.js"
},
{
"path": "app/store/",
"name": "Advertisements.js"
},
{
"path": "app/view/agency/",
"name": "Approve.js"
},
{
"path": "app/store/",
"name": "Agencies.js"
},
{
"path": "ext-4.0/src/util/",
"name": "Inflector.js"
},
{
"path": "ext-4.0/src/button/",
"name": "Split.js"
},
{
"path": "ext-4.0/src/picker/",
"name": "Month.js"
},
{
"path": "ext-4.0/src/layout/component/field/",
"name": "Field.js"
},
{
"path": "ext-4.0/src/layout/component/",
"name": "BoundList.js"
},
{
"path": "ext-4.0/src/form/field/",
"name": "Field.js"
},
{
"path": "ext-4.0/src/layout/container/",
"name": "CheckboxGroup.js"
},
{
"path": "ext-4.0/src/form/",
"name": "CheckboxManager.js"
},
{
"path": "ext-4.0/src/form/field/",
"name": "VTypes.js"
},
{
"path": "ext-4.0/src/layout/component/field/",
"name": "Text.js"
},
{
"path": "ext-4.0/src/grid/header/",
"name": "Container.js"
},
{
"path": "ext-4.0/src/chart/",
"name": "TipSurface.js"
},
{
"path": "ext-4.0/src/slider/",
"name": "Thumb.js"
},
{
"path": "ext-4.0/src/slider/",
"name": "Tip.js"
},
{
"path": "ext-4.0/src/layout/component/field/",
"name": "Slider.js"
},
{
"path": "ext-4.0/src/selection/",
"name": "Model.js"
},
{
"path": "ext-4.0/src/layout/component/field/",
"name": "Trigger.js"
},
{
"path": "ext-4.0/src/toolbar/",
"name": "TextItem.js"
},
{
"path": "ext-4.0/src/chart/",
"name": "Mask.js"
},
{
"path": "ext-4.0/src/chart/",
"name": "Navigation.js"
},
{
"path": "ext-4.0/src/selection/",
"name": "DataViewModel.js"
},
{
"path": "ext-4.0/src/layout/container/",
"name": "AbstractCard.js"
},
{
"path": "ext-4.0/src/layout/component/",
"name": "Tab.js"
},
{
"path": "ext-4.0/src/chart/",
"name": "Shape.js"
},
{
"path": "ext-4.0/src/form/action/",
"name": "Action.js"
},
{
"path": "ext-4.0/src/layout/container/",
"name": "Anchor.js"
},
{
"path": "ext-4.0/src/layout/component/field/",
"name": "TextArea.js"
},
{
"path": "ext-4.0/src/layout/component/",
"name": "ProgressBar.js"
},
{
"path": "ext-4.0/src/data/",
"name": "TreeStore.js"
},
{
"path": "ext-4.0/src/form/",
"name": "FieldContainer.js"
},
{
"path": "ext-4.0/src/chart/theme/",
"name": "Base.js"
},
{
"path": "app/view/",
"name": "Viewport.js"
},
{
"path": "app/controller/",
"name": "Login.js"
},
{
"path": "app/controller/",
"name": "Menu.js"
},
{
"path": "app/controller/",
"name": "Creative.js"
},
{
"path": "ext-4.0/src/data/",
"name": "HasManyAssociation.js"
},
{
"path": "app/model/",
"name": "Campaign.js"
},
{
"path": "app/model/",
"name": "Advertisement.js"
},
{
"path": "app/model/",
"name": "Category.js"
},
{
"path": "app/model/",
"name": "SubCategory.js"
},
{
"path": "ext-4.0/src/picker/",
"name": "Date.js"
},
{
"path": "ux/layout/component/form/",
"name": "ItemSelector.js"
},
{
"path": "ext-4.0/src/form/field/",
"name": "Base.js"
},
{
"path": "ext-4.0/src/form/field/",
"name": "Display.js"
},
{
"path": "ext-4.0/src/form/field/",
"name": "Hidden.js"
},
{
"path": "ux/form/",
"name": "MultiSelect.js"
},
{
"path": "ux/form/",
"name": "ItemSelector.js"
},
{
"path": "ext-4.0/src/form/",
"name": "CheckboxGroup.js"
},
{
"path": "ext-4.0/src/form/",
"name": "RadioGroup.js"
},
{
"path": "ext-4.0/src/form/field/",
"name": "Checkbox.js"
},
{
"path": "ext-4.0/src/form/field/",
"name": "Radio.js"
},
{
"path": "ext-4.0/src/form/field/",
"name": "Text.js"
},
{
"path": "ext-4.0/src/form/field/",
"name": "File.js"
},
{
"path": "ext-4.0/src/grid/column/",
"name": "Column.js"
},
{
"path": "ext-4.0/src/grid/column/",
"name": "Action.js"
},
{
"path": "ext-4.0/src/tree/",
"name": "Column.js"
},
{
"path": "ext-4.0/src/chart/",
"name": "Tip.js"
},
{
"path": "ext-4.0/src/chart/series/",
"name": "Series.js"
},
{
"path": "ext-4.0/src/chart/series/",
"name": "Pie.js"
},
{
"path": "ext-4.0/src/slider/",
"name": "Multi.js"
},
{
"path": "ext-4.0/src/slider/",
"name": "Single.js"
},
{
"path": "ext-4.0/src/selection/",
"name": "RowModel.js"
},
{
"path": "ext-4.0/src/selection/",
"name": "TreeModel.js"
},
{
"path": "ext-4.0/src/form/field/",
"name": "Trigger.js"
},
{
"path": "ext-4.0/src/form/field/",
"name": "Picker.js"
},
{
"path": "ext-4.0/src/form/field/",
"name": "Date.js"
},
{
"path": "ext-4.0/src/view/",
"name": "AbstractView.js"
},
{
"path": "ext-4.0/src/view/",
"name": "View.js"
},
{
"path": "ext-4.0/src/view/",
"name": "Table.js"
},
{
"path": "ext-4.0/src/tree/",
"name": "View.js"
},
{
"path": "ext-4.0/src/tree/",
"name": "Panel.js"
},
{
"path": "ext-4.0/src/grid/",
"name": "View.js"
},
{
"path": "ext-4.0/src/grid/",
"name": "Panel.js"
},
{
"path": "app/view/report/",
"name": "AdStatus.js"
},
{
"path": "app/view/agency/",
"name": "List.js"
},
{
"path": "app/controller/",
"name": "Agency.js"
},
{
"path": "ext-4.0/src/layout/container/",
"name": "Card.js"
},
{
"path": "ext-4.0/src/form/field/",
"name": "Spinner.js"
},
{
"path": "ext-4.0/src/form/field/",
"name": "Number.js"
},
{
"path": "ext-4.0/src/toolbar/",
"name": "Paging.js"
},
{
"path": "ext-4.0/src/view/",
"name": "BoundList.js"
},
{
"path": "ext-4.0/src/view/",
"name": "BoundListKeyNav.js"
},
{
"path": "ext-4.0/src/form/field/",
"name": "ComboBox.js"
},
{
"path": "ext-4.0/src/picker/",
"name": "Time.js"
},
{
"path": "ext-4.0/src/form/field/",
"name": "Time.js"
},
{
"path": "ext-4.0/src/tab/",
"name": "Tab.js"
},
{
"path": "ext-4.0/src/tab/",
"name": "Bar.js"
},
{
"path": "ext-4.0/src/tab/",
"name": "Panel.js"
},
{
"path": "app/view/advertisement/",
"name": "TabPanel.js"
},
{
"path": "ext-4.0/src/chart/",
"name": "LegendItem.js"
},
{
"path": "ext-4.0/src/chart/",
"name": "Legend.js"
},
{
"path": "ext-4.0/src/chart/",
"name": "Chart.js"
},
{
"path": "app/view/report/",
"name": "AccountPieChart.js"
},
{
"path": "ext-4.0/src/form/action/",
"name": "Load.js"
},
{
"path": "ext-4.0/src/form/action/",
"name": "Submit.js"
},
{
"path": "ext-4.0/src/form/field/",
"name": "TextArea.js"
},
{
"path": "ext-4.0/src/",
"name": "ProgressBar.js"
},
{
"path": "ext-4.0/src/window/",
"name": "MessageBox.js"
},
{
"path": "ext-4.0/src/form/",
"name": "Basic.js"
},
{
"path": "ext-4.0/src/form/",
"name": "Panel.js"
},
{
"path": "app/view/",
"name": "BaseForm.js"
},
{
"path": "app/view/campaign/",
"name": "Form.js"
},
{
"path": "app/controller/",
"name": "Campaign.js"
},
{
"path": "app/controller/",
"name": "Label.js"
},
{
"path": "app/view/advertisement/",
"name": "BasicInfoForm.js"
},
{
"path": "app/view/advertisement/",
"name": "TargetingForm.js"
},
{
"path": "app/view/advertisement/",
"name": "SummaryForm.js"
},
{
"path": "app/controller/",
"name": "Advertisement.js"
},
{
"path": "app/view/account/",
"name": "Form.js"
},
{
"path": "app/controller/",
"name": "Account.js"
},
{
"path": "app/view/report/",
"name": "AccountBudget.js"
},
{
"path": "app/controller/",
"name": "Report.js"
},
{
"path": "app/view/user/",
"name": "Form.js"
},
{
"path": "app/controller/",
"name": "User.js"
},
{
"path": "ext-4.0/src/grid/",
"name": "Scroller.js"
},
{
"path": "ext-4.0/src/grid/",
"name": "ColumnLayout.js"
},
{
"path": "ext-4.0/src/grid/plugin/",
"name": "HeaderResizer.js"
},
{
"path": "ext-4.0/src/form/",
"name": "FieldSet.js"
},
{
"path": "ux/layout/component/form/",
"name": "MultiSelect.js"
},
{
"path": "ext-4.0/src/layout/component/field/",
"name": "File.js"
},
{
"path": "ext-4.0/src/view/",
"name": "TableChunker.js"
},
{
"path": "ext-4.0/src/grid/",
"name": "LockingView.js"
},
{
"path": "ext-4.0/src/dd/",
"name": "DragZone.js"
},
{
"path": "ext-4.0/src/dd/",
"name": "Registry.js"
},
{
"path": "ext-4.0/src/dd/",
"name": "DDTarget.js"
},
{
"path": "ext-4.0/src/dd/",
"name": "ScrollManager.js"
},
{
"path": "ext-4.0/src/grid/",
"name": "Lockable.js"
},
{
"path": "ext-4.0/src/view/",
"name": "DragZone.js"
},
{
"path": "ext-4.0/src/grid/header/",
"name": "DragZone.js"
},
{
"path": "ext-4.0/src/dd/",
"name": "DropTarget.js"
},
{
"path": "ext-4.0/src/dd/",
"name": "DropZone.js"
},
{
"path": "ext-4.0/src/view/",
"name": "DropZone.js"
},
{
"path": "ext-4.0/src/grid/header/",
"name": "DropZone.js"
},
{
"path": "ext-4.0/src/grid/plugin/",
"name": "HeaderReorderer.js"
},
{
"path": "ext-4.0/src/layout/component/",
"name": "Body.js"
},
{
"path": "ext-4.0/src/layout/component/",
"name": "FieldSet.js"
}
]
},
{
"name": "Application - Production",
"target": "app-all.js",
"compress": true,
"files": [
{
"path": "",
"name": "all-classes.js"
},
{
"path": "",
"name": "app.js"
}
]
}
],
"resources": []
}

gcallaghan
12 May 2011, 8:25 AM
Looks like you don't have any packages. My JSB follows the format


{
"projectName": "Project",
"licenseText": "License",
"packages": [
{
"name": "named package",
"target":"path/to/deploy/dir.js",
"id" : "package_id",
"files" : [
{"path": "../path/to/working/", "name": "file.js"},
...

]
},
...
],
"builds": [
{
"name": "Package",
"target": "package.js",
"debug": true,
"options": {
"minVersion": 1.1
},
"packages": [
"package_id"
]
}
]
}

generally I just include the packages in my html rather than the build. Your use case may differ.

raintran
19 May 2011, 8:08 PM
Hi Gcallaghan,
Thank you for great thread.
I have build cucceed jsb3 file, All files in pakages of my project is built and compress succeed but the resources didn't copy. This is my coping resources code:
"resources": [{
"src": "switchMode/resources/",
"dest": "resources/",
"filters": ".*[\\.txt]"
},{
"src": "switchMode/resources/images/",
"dest": "resources/images/",
"filters": ".*[\\.jpg|\\.png|\\.gif]"
},{
"src": "switchMode/resources/css/",
"dest": "resources/css/",
"filters": ".*[\\.xml]"
}]
Could you help me?