maximgb / senchacmd-customlibs Goto Github PK
View Code? Open in Web Editor NEWAn extension to Sencha CMD allowing one to integrate custom external libraries into the build
License: MIT License
An extension to Sencha CMD allowing one to integrate custom external libraries into the build
License: MIT License
First of all thanks for coming up with this solution to a common problem in Sencha build.
If you have a look at your example the top level object is within an array which misses its closing bracket.
I´m getting a lot of errors trying to compile my project.
[ERR] The following error occurred while executing this line:
[path].sencha\app\build-impl.xml:378
: The following error occurred while executing this line:
[path].sencha\app\init-impl.xml:303:
java.lang.ClassCastException: com.sencha.tools.compiler.ast.js.Name cannot be c
ast to com.sencha.tools.compiler.ast.js.ObjectLiteral
This is the part of my customlibs in app.json
"customlibs" : [{
// Classpath to add to application classpath list
"classpath" : "scheduler",
// Javascript file or files to append/prepend to the resulting JS file
// the option might be given as an array of objects as well
"js" : {
// Path to a file relative to the current project directory or absolute
// "prepend" : "scheduler/touch-scheduler-all-debug.js",
// Path to a file relative to the current project directory or absolute
"append" : "scheduler/touch-scheduler-all-debug.js"
},
// CSS file or files to append to the resulting CSS file
// the option might be given as an array of objects as well
"css" : {
// Path to a file relative to the current project directory or absolute
"path" : "scheduler/resources/css/touch-scheduler-all-debug.css",
// Replacement to execute during the concatenation, might be required to properly adjust image/font
// URLs to new CSS file base directory
"replace" : {
// Regular expression given as a string
"from" : "\\.\\./images",
// Substitution pattern
"to" : "scheduler"
}
},
Could you help me find what am i doing wrong please?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.