Skip to content

Commit

Permalink
extapp : 2014.06.17 release
Browse files Browse the repository at this point in the history
* removed javascript minify option
  • Loading branch information
liberborn committed Oct 30, 2014
1 parent 8db534b commit e494e8e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
Binary file added .build/extapp-2014.10.jar
Binary file not shown.
18 changes: 7 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ No additional comment conventions needed. Extapp avoids some custom magic commen
- deduplicate referenced dependencies
- ranking classes based on references
- smart avoid of infinite loops
- minify JS code
- usage in other JS frameworks


Expand All @@ -26,7 +25,6 @@ Global Options
-h, --help Displays this information
-v, --verbose Display informational messages and warnings
-l, --delimiter Output a delimiter between combined files
-m, --minify Minify js code in the output file
-b, --basePath Base path to web folder (absolute or relative)
-c <file>, --config <file> Config file with extapp options
-s <file>, --source <file> Source file. Starting point to process dependencies.
Expand Down Expand Up @@ -64,9 +62,7 @@ It was resolved with easy trick - *rank limit* introduced. Usually the very huge

## Minify JS Code

Simple JS Code minify option. Removes comments, line breaks and white spaces. I would recommend to use **[YUI Compressor](https://github.com/yui/yuicompressor)** instead.

But in rare cases when code is not working you can keep in mind that **YUI Compressor** is modyfiying code a little bit (changes local variables in fuctions etc). So the simple minify option would be better to use sometimes.
I recommend to use **[YUI Compressor](https://github.com/yui/yuicompressor)**.

## Extapp VS Sencha.cmd

Expand Down Expand Up @@ -99,7 +95,7 @@ Extapp may be easily integrated in both **ant** and **gradle** deployment script

### Run in command line
```bash
java -jar .build/extapp-2014.06.jar -v -l -b app -c /portal/extapp-config.js -s /portal/app.js -o /portal/app-output.js
java -jar .build/extapp-2014.10.jar -v -l -b app -c /portal/extapp-config.js -s /portal/app.js -o /portal/app-output.js
```

### Extapp config file
Expand Down Expand Up @@ -163,7 +159,7 @@ java -jar .build/extapp-2014.06.jar -v -l -b app -c /portal/extapp-config.js -s

### Command line output
```bash
$ java -jar .build/extapp-2014.06.jar -v -l -b app -c /portal/extapp-config.js -s /portal/app.js -o /portal/app-output.js
$ java -jar .build/extapp-2014.10.jar -v -l -b app -c /portal/extapp-config.js -s /portal/app.js -o /portal/app-output.js

[INFO] Base path : app
[INFO] Config file : app/portal/extapp-config.js
Expand Down Expand Up @@ -216,7 +212,7 @@ Ext class 'Demo.modules.test.view.TestView'. File : /portal/modules/test/view/Te

### Run in command line
```bash
java -jar .build/extapp-2014.06.jar -v -l -b app -c /calendar/extapp-config.js -s /calendar/src/App.js
java -jar .build/extapp-2014.10.jar -v -l -b app -c /calendar/extapp-config.js -s /calendar/src/App.js
```

### Extapp config file
Expand Down Expand Up @@ -276,7 +272,7 @@ java -jar .build/extapp-2014.06.jar -v -l -b app -c /calendar/extapp-config.js -

### Command line output
```bash
$ java -jar .build/extapp-2014.06.jar -v -l -b app -c /calendar/extapp-config.js -s /calendar/src/App.js
$ java -jar .build/extapp-2014.10.jar -v -l -b app -c /calendar/extapp-config.js -s /calendar/src/App.js

[INFO] Base path : app
[INFO] Config file : app/calendar/extapp-config.js
Expand Down Expand Up @@ -346,7 +342,7 @@ $ java -jar .build/extapp-2014.06.jar -v -l -b app -c /calendar/extapp-config.js
<!-- define props -->
<taskdef resource="net/sf/antcontrib/antcontrib.properties" />

<property name="extappJar" value=".build/extapp-2014.06.jar" />
<property name="extappJar" value=".build/extapp-2014.10.jar" />
<property name="projectBasePath" value="app" />

<!-- Extapp Builder -->
Expand Down Expand Up @@ -395,7 +391,7 @@ $ java -jar .build/extapp-2014.06.jar -v -l -b app -c /calendar/extapp-config.js

## Gradle tasks
```groovy
def extappJar = '.build/extapp-2014.06.jar'
def extappJar = '.build/extapp-2014.10.jar'
/**
* Extapp Builder
Expand Down
2 changes: 1 addition & 1 deletion ant.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ lib.dir=lib
doc.dir=doc
build.dir=.build
product.name=extapp
version.number=2014.06
version.number=2014.10
jar.name=${product.name}-${version.number}.jar
dist.package.name=${product.name}

0 comments on commit e494e8e

Please sign in to comment.