Git Product home page Git Product logo

espresso's People

Contributors

4z3 avatar broud avatar hano avatar onkelhenky avatar pfleidi avatar siamak-haschemi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

espresso's Issues

validate-package show wrong advice in console output

Console output

  • validate-package
    The package (com.tmp.MyTestApp1) specified in config.json looks odd.
    Please specify the package like "com.test.MyPackage".

But for package entry only lowercases are allowed.
If you specify the package name like in the hint, it would never work.

Warning: dropping manifest because typeof is neither string nor boolean.

If I want to package my build for android the following warning appears in line 1 of the package.log file:

Warning: dropping manifest because typeof is neither string nor boolean.

It looks like it skips all options for the activity section of android manifest but I wasn't able to verify this.

EDIT: I tried to package the Todos example app.

deploy local on windows

When I deploy with the local mode on Windows I get an error. I can make it work if I modify the index.js file in the local sub-dir in expresso by replacing the command "/bin/sh" by "sh".

Could it automatically select the right executable based on the OS it is running on?

thanks

language files sourcecodes are included in the xyz_App.js

the espresso build and server command forces to copy all languages file lines into the appname_App.js file. Also the language files gets included via <script type="application/javascript" src="en_us.js"></script>
It seems that the loaded language files are required.

creating a second view with 'espresso generate -v nameN' isn't possible

node --version v0.6.0
Espresso 0.7.2

done this:

espresso init -p test
Project successfully generated!
cd test/
espresso generate -v p1
LOG: /private/tmp/test/app/views/p1.js generated!
espresso generate -v p2

Espresso/generator/file_generator.js:55
throw err;
^
Error: EEXIST, File exists '/private/tmp/test/app/views/'

error occurred with node version higher than 4.12

espresso -d path not working

my espresso version:
$ espresso version
Espresso 0.8.0

my node version:
$ node -v
v0.6.0

this is what i've done:
$ cd /tmp

$ espresso init -p MinusDTest
Project successfully generated!

$ espresso server -d /tmp/MinusDTest/
raises this error:
The "sys" module is now called "util". It should have a similar interface.
LOG: Server running at http://127.0.0.1:8000/MinusDTest
Building application: "MinusDTest"
Building components:
calling build() for: "MinusDTest_App"
calling build() for: "MinusDTest_AppResources"
calling build() for: "core"
calling build() for: "ui"
calling build() for: "jquery"
calling build() for: "underscore"
calling build() for: "themes"
calling build() for: "tmp_themes"
calling build() for: "bootstrapping"
calling build() for: "jquery_mobile_plugins"
calling build() for: "jquery_mobile"
underscore: done
bootstrapping: done
tmp_themes: done
MinusDTest_AppResources: done
jquery_mobile_plugins: done
ui: done
jquery: done
jquery_mobile: done
core: done

/Users/mway/Documents/mway/themproject/Espresso/node_modules/step/lib/step.js:38
throw arguments[0];
^
TypeError: Cannot read property 'dependencyTrees' of undefined
at Function.sortDependencies (/Users/mway/Documents/mway/themproject/Espresso/tasks/task_dependency.js:270:15)
at next (/Users/mway/Documents/mway/themproject/Espresso/node_modules/step/lib/step.js:51:23)
at next (/Users/mway/Documents/mway/themproject/Espresso/node_modules/step/lib/step.js:54:7)
at next (/Users/mway/Documents/mway/themproject/Espresso/node_modules/step/lib/step.js:54:7)
at next (/Users/mway/Documents/mway/themproject/Espresso/node_modules/step/lib/step.js:60:7)
at [object Object].Step as sequencer
at [object Object].duty (/Users/mway/Documents/mway/themproject/Espresso/tasks/task_dependency.js:64:8)
at [object Object].run (/Users/mway/Documents/mway/themproject/Espresso/tasks/task.js:52:10)
at /Users/mway/Documents/mway/themproject/Espresso/tasks/task.js:62:19
at [object Object].duty (/Users/mway/Documents/mway/themproject/Espresso/tasks/task_preSort.js:74:5)

Core.js from The M Project core framework is compiled out of order

The file generated from Espresso both when using "espresso server" and "espresso build" on a fresh copy of the KitchenSink app from the M Framework sample code gets a core.js which is concatenated out of order. Because of this, the "core/foundation/models.js" is included before "core/foundation/m.js" which results in the namespace not being defined when trying to execute the application.

ESPRESSO-DEBUG has no effect

Espresso/package/PhoneGap/Android/build does not allow ispecting the native package

...
if echo "${ESPRESSO_DEBUG-}" | grep -q package; then
...

should be

...
if echo "${ESPRESSO_DEBUG-}" | grep -q ${package}; then
...

Proxy corrupts png files

When trying to png files through the Espresso proxy corrupts them... File length is the same, but the content changes. Can anyone confirm this issue? Or is it some configuration I am missing?

Using Espresso 64dc39b (6/9/11 11:50 AM)

parameterized generate options

Generating a view with 'espresso generate -v' always delivers a PageView. Another use case is generating a ListItemView. Generally spoken: i would be great to have a parameter for all views which are in a separately .js-file.

Examples (for discussion):
espresso generate --view Name --type page
espresso generate -v viewtype viewname
espresso generate -v viewname viewtype [default = page]

Also have a look at this discussion:
https://groups.google.com/group/themproject/browse_thread/thread/1ace22647eab2104

Failure during creating a new project

With the command espresso init -p Steckno i get the following error.

espresso version prints 1.3.0

I'm on a Windows 7 System, Nodes.js 0.10

C:\Software\Java\JavaScript\The-M-Project_v1.3.0\Espresso\node_modules\mu\lib\mu\parser.js:95
throw new Error('Encountered an unclosed tag: "' + this.otag + this.buff
MU_NEWLINE" } "m_id": "m_id"ted": "updated_at",ref="theme/images/[email protected]" />",t">",
at Object.Parser.scanTag (C:\Software\Java\JavaScript\The-M-Project_v1.3.0\Espresso\node_modules\mu\lib\mu\parser.js
:95:13)

Any idea?
Thx. Satti

espresso running using node on Windows 7

Finally i installed cygwin and node - which can run hello example, but when i run command in the cygwin shell: node espresso.js i get the following :

$ node espresso.js

node.js:63
throw e;
^
Error: Cannot find module 'step'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object. (/cygdrive/c/themproject/espresso/core/e.js:64:25)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object. (/cygdrive/c/themproject/espresso/core/commands/versio
n.js:12:9)
at Module._compile (node.js:462:23)

Check for invalid view names in any childViews property during the build process

We should add a mechanism to check for invalid view names within the childViews property of any view during the build process. Therefore we will set up a list containing all 'keywords' used within the framework, e.g. 'render', 'renderChildViews' or 'theme'. Espresso then should parse the application's source code, look for properties called 'childViews' and check, whether one of them contains one of the 'keywords'.

Example:

M.PageView.design({
  childViews: 'header render footer',

  header: M.ToolbarView.design({
    value: 'Toolbar'
  }),

  render: M.ScrollView.design({
    // anything....
  }),

  footer: M.ToolbarView.design({
    value: 'Footer'
  })
});

Since the page view in the sample above uses 'render' within the childViews property, this should throw an error during the build process.

"package run" for android development phones

Only android emulators are currently supported when one runs the following command

$ espresso package run <androidpkgname>

The config should describe what package to build, but the following added behavior would seem appropriate:

  • when "adb" only finds one device: try to launch it on that one
  • when multiple devices are found: inform the user to specify the target device.
  • allow an override using a command flag (-t) to specify which device to target for launch.

"libraries" property in targets.json

Some targets could require specific libraries that should be added to targets.json:

I suggest the following syntax:

{
    "microsoft" : {
        "metro": {
            "dedicatedResources": "metro",
            "libraries": [
                {
                    "name": "Metro", 
                    "refs": ["*"]
                }
            ]
        }
    }
}

Installation of Espresso using git failed

Here's the log:

$ git clone https://github.com/mwaylabs/Espresso.git
Cloning into Espresso...
remote: Counting objects: 4672, done.
remote: Compressing objects: 100% (1784/1784), done.
remote: Total 4672 (delta 2873), reused 4537 (delta 2751)
Receiving objects: 100% (4672/4672), 8.43 MiB | 532 KiB/s, done.
Resolving deltas: 100% (2873/2873), done.
$ cd Espresso/
master= $ git checkout detox
Branch detox set up to track remote branch detox from origin.
Switched to a new branch 'detox'
detox= $ git submodule update --init
Submodule 'frameworks/The-M-Project' (https://github.com/mwaylabs/The-M-Project.git) registered for path 'frameworks/The-M-Project'
Submodule 'node_modules/mu' (https://github.com/raycmorgan/Mu) registered for path 'node_modules/mu'
Submodule 'node_modules/sass' (https://github.com/visionmedia/sass.js.git) registered for path 'node_modules/sass'
Submodule 'node_modules/step' (https://github.com/creationix/step.git) registered for path 'node_modules/step'
Submodule 'node_modules/wwwdude' (https://github.com/4z3/node-wwwdude.git) registered for path 'node_modules/wwwdude'
Submodule 'submodules/github/4z3/callback-ios' (https://github.com/4z3/callback-ios) registered for path 'submodules/github/4z3/callback-ios'
Submodule 'submodules/github/4z3/phonegap' (https://github.com/4z3/phonegap) registered for path 'submodules/github/4z3/phonegap'
Submodule 'submodules/github/Fingertips/ios-sim' (https://github.com/Fingertips/ios-sim) registered for path 'submodules/github/Fingertips/ios-sim'
Cloning into frameworks/The-M-Project...
remote: Counting objects: 11125, done.
remote: Compressing objects: 100% (3225/3225), done.
remote: Total 11125 (delta 7781), reused 10970 (delta 7628)
Receiving objects: 100% (11125/11125), 5.71 MiB | 525 KiB/s, done.
Resolving deltas: 100% (7781/7781), done.
Submodule path 'frameworks/The-M-Project': checked out '7d764cb06916cc53dcb1e405c4f7676601092f9b'
Cloning into node_modules/mu...
remote: Counting objects: 426, done.
remote: Compressing objects: 100% (216/216), done.
remote: Total 426 (delta 183), reused 399 (delta 170)
Receiving objects: 100% (426/426), 64.66 KiB | 75 KiB/s, done.
Resolving deltas: 100% (183/183), done.
Submodule path 'node_modules/mu': checked out '75e228ba9ae2b16cfa343f1b77169012f65d5ff1'
Cloning into node_modules/sass...
remote: Counting objects: 742, done.
remote: Compressing objects: 100% (311/311), done.
remote: Total 742 (delta 329), reused 732 (delta 322)
Receiving objects: 100% (742/742), 1.02 MiB | 431 KiB/s, done.
Resolving deltas: 100% (329/329), done.
Submodule path 'node_modules/sass': checked out '573520bd7c0d9c925f304c0178ce0d24536e6ec4'
Cloning into node_modules/step...
remote: Counting objects: 131, done.
remote: Compressing objects: 100% (68/68), done.
remote: Total 131 (delta 60), reused 109 (delta 44)
Receiving objects: 100% (131/131), 18.54 KiB, done.
Resolving deltas: 100% (60/60), done.
Submodule path 'node_modules/step': checked out 'b9899032ac85219edfbb9a937b96035b035d6296'
Cloning into node_modules/wwwdude...
remote: Counting objects: 630, done.
remote: Compressing objects: 100% (233/233), done.
remote: Total 630 (delta 377), reused 611 (delta 358)
Receiving objects: 100% (630/630), 93.35 KiB, done.
Resolving deltas: 100% (377/377), done.
Submodule path 'node_modules/wwwdude': checked out 'd2b418fd95a1138d43fb7707f00b8e7cc22acb27'
Cloning into submodules/github/4z3/callback-ios...
remote: Counting objects: 295, done.
remote: Compressing objects: 100% (234/234), done.
remote: Total 295 (delta 34), reused 295 (delta 34)
Receiving objects: 100% (295/295), 1.30 MiB | 437 KiB/s, done.
Resolving deltas: 100% (34/34), done.
Submodule path 'submodules/github/4z3/callback-ios': checked out '5126da1799c26836ce255a0dd5effb900b448712'
Cloning into submodules/github/4z3/phonegap...
remote: Counting objects: 461, done.
remote: Compressing objects: 100% (215/215), done.
remote: Total 461 (delta 223), reused 461 (delta 223)
Receiving objects: 100% (461/461), 6.71 MiB | 455 KiB/s, done.
Resolving deltas: 100% (223/223), done.
Submodule path 'submodules/github/4z3/phonegap': checked out 'f412379b40bc89f36b637bca79f130635a887756'
Cloning into submodules/github/Fingertips/ios-sim...
fatal: https://github.com/Fingertips/ios-sim/info/refs not found: did you run git update-server-info on the server?
Clone of 'https://github.com/Fingertips/ios-sim' into submodule path 'submodules/github/Fingertips/ios-sim' failed
detox *= $ 

folder incubator-cordova-android does not exist in the repo

After a 'espresso package build android' I got a fail. Looking in the log appears:

  • cat /home/ivang/Mis_PortableApps/Espresso/package/../submodules/git-wip-us.apache.org/repos/asf/incubator-cordova-android/VERSION
    cat: /home/ivang/Mis_PortableApps/Espresso/package/../submodules/git-wip-us.apache.org/repos/asf/incubator-cordova-android/VERSION: File or folder does not exist

After check it, the incubator-cordova-ios does exist, but the android version does not.

node m-build.js throw arguments[0];

i'm at least able to start & build the KitchenSink-Example
but
when trying to follw the steps on
http://www.the-m-project.org/getStarted_helloworld.html

i can not start nor build the app:
node m-build.js

Building application: "next"
Building components:
calling build() for: "test_App"
calling build() for: "test_AppResources"
calling build() for: "core"
calling build() for: "ui"
calling build() for: "jquery"
calling build() for: "underscore"
calling build() for: "themes"
calling build() for: "bootstrapping"
calling build() for: "jquery_mobile_plugins"
calling build() for: "jquery_mobile"

<...>/Espresso/lib/step.js:36
throw arguments[0];
^
SyntaxError: Unexpected token :
at Object.parse (native)
at <...>/Espresso/core/framework.js:149:27
at [object Object]. (fs.js:86:5)
at [object Object].emit (events.js:39:17)
at afterRead (fs.js:843:12)

Error installation failed

Hello

i followed the installation steps on my mac, i created an alias to the espresso path, but when i try
espresso version
or any other command i get :

module.js:340
throw err;
^
Error: Cannot find module 'step'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object. (/Unik/mobile-apps/the-m-project/Espresso/core/e.js:64:25)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)

Closure Compiler on Node v0.10.8 w Espresso 1.4.1

Upgrading Node to 0.10.8 breaks Closure Compiler (minify:true) with

..
..
jquery_mobile_plugins: done
themes: done
Assertion failed: (!uv__io_active(&stream->io_watcher, UV__POLLOUT) || !ngx_queue_empty(&stream->write_completed_queue) || !ngx_queue_empty(&stream->write_queue) || stream->shutdown_req != NULL || stream->connect_req != NULL), function uv_read_stop, file ../deps/uv/src/unix/stream.c, line 1319.
Abort trap: 6

My current work-around is to use n (https://github.com/visionmedia/n) to switch between node versions.

plutil throws "Unknown format specifier: json"

Using the detox branch, I created a HelloWorld project with the following config.json:

{
    "name" : "MProjectHelloWorld",
    "mode": "debug",
    "debugLevel": 1,
    "eliminate": false,
    "minify": false,
    "proxies": [
        {
            "baseUrl": "http://your.server.com",
            "proxyAlias": "myServer"
        },
        {
            "baseUrl": "http://your.server2.com",
            "proxyAlias": "myServer2"
        }
    ],
    "htmlHeader": [
        "",
        "",
        "",
        "",
        "",
        ""
    ],
    "application": {
        "version": "0.0.1",
        "debugMode": true,
        "useTransitions": true,
        "keyPrefix": "#m#",
        "keySuffix": "_",
        "timeStampCreated": "created_at",
        "timeStampUpdated": "updated_at",
        "m_id": "m_id"
    },
   "package":{        
        "ios-sim": {
            "method": "PhoneGap",
            "os": "iOS",
            "sdk": "iphonesimulator4.3",
            "mode": "debug",
            "plists": {
                "PhoneGap": {
                    "ExternalHosts": ["*"]
                }
            },
            "autoScaleIcon": true
        }
    }
}

Running the espresso build (using espresso package run ios-sim) gives me:

Warning: dropping plists because typeof is neither string nor boolean.
+ export build_dir=/Users/siamakhaschemi/Development/src/MProjectHelloWorld/build/1337518765642
+ build_dir=/Users/siamakhaschemi/Development/src/MProjectHelloWorld/build/1337518765642
+ export sdk=iphonesimulator4.3
+ sdk=iphonesimulator4.3
+ export activity=MyActivity
+ activity=MyActivity
+ export package=com.test.mypackage
+ package=com.test.mypackage
+ validate-activity
+ validate-package
+ validate-build_dir
+ validate-sdk iphonesimulator
++ mktemp -d /var/folders/R+/R+4dcmGVEVaq344BlYTdZE+++TI/-Tmp-//package-phonegap-iOS.XXXXXXXXXX
+ cd /var/folders/R+/R+4dcmGVEVaq344BlYTdZE+++TI/-Tmp-//package-phonegap-iOS.90oCAX3m55
+ trap 'cd '\''/Users/siamakhaschemi/Development/src/MProjectHelloWorld/build/1337518765642'\''; rm -fR '\''/var/folders/R+/R+4dcmGVEVaq344BlYTdZE+++TI/-Tmp-/package-phonegap-iOS.90oCAX3m55'\''' EXIT INT QUIT
+ ln -s /Users/siamakhaschemi/Development/src/MProjectHelloWorld/build/1337518765642 src
+ ln -s /Users/siamakhaschemi/Development/src/MProjectHelloWorld app
+ setup-project
+ cd /Users/siamakhaschemi/Development/src/Espresso/package/../submodules/github/4z3/callback-ios/
+ ./bin/create /var/folders/R+/R+4dcmGVEVaq344BlYTdZE+++TI/-Tmp-/package-phonegap-iOS.90oCAX3m55/iOS-project com.test.mypackage MyActivity
+ cd /var/folders/R+/R+4dcmGVEVaq344BlYTdZE+++TI/-Tmp-/package-phonegap-iOS.90oCAX3m55
+ rm -fR iOS-project/www
+ mkdir iOS-project/www
++ find /Users/siamakhaschemi/Development/src/Espresso/package/../submodules/github/4z3/callback-ios/bin/templates/project/www
++ grep '.*/phonegap[^/]*\.js$'
+ phonegap_js=/Users/siamakhaschemi/Development/src/Espresso/package/../submodules/github/4z3/callback-ios/bin/templates/project/www/phonegap-1.0.0.js
+ cp /Users/siamakhaschemi/Development/src/Espresso/package/../submodules/github/4z3/callback-ios/bin/templates/project/www/phonegap-1.0.0.js iOS-project/www/phonegap.js
+ cp -R src/MProjectHelloWorld_App.js src/bootstrap.js src/cache.manifest src/core.js src/d8-0.2.0.min.js src/index.html src/jquery-1.7.1.min.js src/jquery_mobile.js src/jquery_mobile_plugins.js src/package.log src/theme src/ui.js src/underscore-min.js iOS-project/www
+ rm -f iOS-project/www/config.json
+ rm -f 'iOS-project/www/*.ipa'
+ rm -f iOS-project/www/package.log
+ setup-icons
+ /usr/libexec/PlistBuddy -x -c 'Delete :CFBundleIconFiles' iOS-project/MyActivity/MyActivity-info.plist
+ /usr/libexec/PlistBuddy -x -c 'Add :CFBundleIconFiles array' iOS-project/MyActivity/MyActivity-info.plist
+ read px name
+ test -e src/theme/images/appicon-57.png
+ test true = true
+ test -e src/theme/images/appicon.png
+ convert src/theme/images/appicon.png -resize 57x57 iOS-project/MyActivity/Resources/icons/icon.png
+ /usr/libexec/PlistBuddy -x -c 'Add :CFBundleIconFiles: string icon.png' iOS-project/MyActivity/MyActivity-info.plist
+ read px name
+ test -e src/theme/images/appicon-114.png
+ test true = true
+ test -e src/theme/images/appicon.png
+ convert src/theme/images/appicon.png -resize 114x114 iOS-project/MyActivity/Resources/icons/[email protected]
+ /usr/libexec/PlistBuddy -x -c 'Add :CFBundleIconFiles: string [email protected]' iOS-project/MyActivity/MyActivity-info.plist
+ read px name
+ test -e src/theme/images/appicon-72.png
+ test true = true
+ test -e src/theme/images/appicon.png
+ convert src/theme/images/appicon.png -resize 72x72 iOS-project/MyActivity/Resources/icons/icon-72.png
+ /usr/libexec/PlistBuddy -x -c 'Add :CFBundleIconFiles: string icon-72.png' iOS-project/MyActivity/MyActivity-info.plist
+ read px name
+ test -e src/theme/images/appicon-29.png
+ test true = true
+ test -e src/theme/images/appicon.png
+ convert src/theme/images/appicon.png -resize 29x29 iOS-project/MyActivity/Resources/icons/icon-Small.png
+ /usr/libexec/PlistBuddy -x -c 'Add :CFBundleIconFiles: string icon-Small.png' iOS-project/MyActivity/MyActivity-info.plist
+ read px name
+ test -e src/theme/images/appicon-50.png
+ test true = true
+ test -e src/theme/images/appicon.png
+ convert src/theme/images/appicon.png -resize 50x50 iOS-project/MyActivity/Resources/icons/icon-Small-50.png
+ /usr/libexec/PlistBuddy -x -c 'Add :CFBundleIconFiles: string icon-Small-50.png' iOS-project/MyActivity/MyActivity-info.plist
+ read px name
+ test -e src/theme/images/appicon-58.png
+ test true = true
+ test -e src/theme/images/appicon.png
+ convert src/theme/images/appicon.png -resize 58x58 iOS-project/MyActivity/Resources/icons/[email protected]
+ /usr/libexec/PlistBuddy -x -c 'Add :CFBundleIconFiles: string [email protected]' iOS-project/MyActivity/MyActivity-info.plist
+ read px name
+ setup-splash
+ test -e src/theme/images/splash.png
+ test -e src/theme/images/[email protected]
+ read orientation
+ test -e src/theme/images/splash-Portrait.png
+ read orientation
+ test -e src/theme/images/splash-PortraitUpsideDown.png
+ read orientation
+ test -e src/theme/images/splash-Landscape.png
+ read orientation
+ test -e src/theme/images/splash-LandscapeLeft.png
+ read orientation
+ test -e src/theme/images/splash-LandscapeRight.png
+ read orientation
+ gsedi iOS-project/www/index.html '
  s|\(</script>\
<script type="application/javascript">var isPhoneGap = true;</script>\

\2|
}
'

  • add-plugins
  • pbxproj_plist=iOS-project/MyActivity.xcodeproj/project.pbxproj
  • pbxproj_json=iOS-project/MyActivity.xcodeproj/project.pbxproj.json
  • plutil -convert json iOS-project/MyActivity.xcodeproj/project.pbxproj -o iOS-project/MyActivity.xcodeproj/project.pbxproj.json
    Unknown format specifier: json
    plutil: [command_option] [other_options] file...
    The file '-' means stdin
    Command options are (-lint is the default):
    -help show this message and exit
    -lint check the property list files for syntax errors
    -convert fmt rewrite property list files in format
    fmt is one of: xml1 binary1
    There are some additional optional arguments:
    -s be silent on success
    -o path specify alternate file path name for result;
    the -o option is used with -convert, and is only
    useful with one file argument (last file overwrites);
    the path '-' means stdout
    -e extension specify alternate extension for converted files
    -- specifies that all further arguments are file names
  • cd /Users/siamakhaschemi/Development/src/MProjectHelloWorld/build/1337518765642
  • rm -fR /var/folders/R+/R+4dcmGVEVaq344BlYTdZE+++TI/-Tmp-/package-phonegap-iOS.90oCAX3m55

This might be a reference: keithpitt/vendor#9

My System Info:

Mac OSX X
Version 10.6.8 (Snow Leopard)
Build 10K549

Twitter Sample .apk with espresso package

Hey ,

after updating the espresso to the latest version ( detox branch! ) , I had the possibility to build an .apk file of the Twitter Sample App:

I used this in the config.json :

"package": {
"default": {
"method": "Cordova",
"os": "Android",
"sdk": "android-15",
"package": "com.test.twitter",
"activity": "Twitter",
"mode": "release",
"keystore": "/path/to/key/mykey.keystore",
"keyalias": "keyname",
"storepass": "xxx",
"manifest": {
"-android:versionCode": "1",
"-android:versionName": "0.0.1",

            "uses-sdk": {
                "-android:minSdkVersion": "8"
            }
        },
        "autoScaleIcon": true
    }

and I received this error:

/Users/myName/Documents/Espresso/package/Cordova/Android/bin/setup-icons: line 36: convert: command not found

But if I delete the "autoScaleIcon" line , everything works right!

unit test command (Feature Request)

Hi would like to have a unit test command in espresso that would execute all the tests under a given directory.
The tests could be written with jasmine.

We should be able to test controllers with the binding and tests views binding too.

We should be able to run the tests headless so they could be run into a CI server build. (phantomjs does the trick)

Espresso-1.0.0 tar.gz from the-m-project.org contains garbage

The Espresso tar.gz-package contains files of the form ._*, you can find it with

find extracted-espresso-directory -name '._*'

These files prevent Espresso from working. Please replace the download with a cleaned-up version ASAP.

You can cleanup the directory before tarring it with:

find extracted-espresso-directory -name '._*' -exec rm -v \{\} \;

Serverside ressources when espresso server is running

Wouldn't it be great, to have an folder with stuff in it, like json files, that are accessible when espresso server is running.
An Example:
Your app wants to use an interface to a server. But that interface is not implemented yet.
So you put an future like demo-file of the response in that folder. Now you can pretend to connect to the real server and use your espresso server as host and serverside interface.

espresso package command gives back incorrect command options

espresso package

Usage: espresso package []
Available options:
-d, --directory=DIRECTORY Specify a custom project directory Default: $PWD
-h, --help Show this help for command package Default: false

From my point of view that's wrong when I'm comparing with the documentation here:

espresso package

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.