Opened 20 months ago

Last modified 20 months ago

#19006 new defect

dojo build - bower - tinymce - exclude

Reported by: jgoknowis Owned by:
Priority: undecided Milestone: tbd
Component: BuildSystem Version: 1.10.7
Keywords: Cc:
Blocked By: Blocking:

Description

Our dojo build has still worked fine. Now we have updated the tinymce version increased from 3 to 4 and now we cannot exclude source from the third party framework and got some errors.

bower.json

{
  "version": "x.x.x",
  "name": "xxx",
  "appPath": "src/main/webapp/",
  "dependencies": {
...
    "dojo": "1.10.7",
    "dijit": "1.10.7",
    "dojox": "1.10.3",
    "tinymce": "4.5.6",
...
  }
}

xxx.profile.js

...
        packages:[{
            name: 'dojo',
            location: 'src/main/webapp/bower_components/dojo'
        },{
            name: 'dijit',
            location: 'src/main/webapp/bower_components/dijit'
        },{
            name: 'dojox',
            location: 'src/main/webapp/bower_components/dojox'
        },{
            name: 'myapp',
            location: 'src/main/webapp/app/myapp'
        },{
            name: 'tinyMce',
            location: 'src/main/webapp/bower_components/tinymce'
        }],
...
         layers: {   
            'myapp/full': {
               include: [
                  ...
                ],
               exclude: [
                  'dojo/_base/declare',
                  'dojo/_base/fx',
                  'dojo/_base/lang',
                  'dojo/currency',
                  'dojo/fx',
                  'dojo/number',
                  'dojo/on',
                  'dojo/query',
                  'dijit/dijit',
                  'dojox/html/entities',
                  'dojo/date/locale',
                  'tinyMce/tinymce.min',
                  'tinyMce/tinymce.jquery'
              ];
...

Change History (1)

comment:1 Changed 20 months ago by jgoknowis

i doesn't notice the exclude or include tinyMce/tinymce.jquery or do nothing, i always get the same error by building

error(311) Missing dependency.
	module: tinyMce/tinymce.jquery; dependency: tinymce/util/Promise
        ...
Note: See TracTickets for help on using tickets.