2 Replies Latest reply on Aug 10, 2006 12:51 PM by krisk58

    Force to compile all

    krisk58 Level 1
      Dear Friends

      if i delete WEB-INF\flex\generated\*.*

      would i force JRUN/Flex to compile all my flex application files?

      or there is other way?

      thank you
        • 1. Re: Force to compile all
          ntsiii Level 3
          Yes, that will work.

          I also believe you can use parameter on the url: ...mxml?recompile=true

          But I could not find that documented anywhere yet.

          Tracy
          • 2. Re: Force to compile all
            krisk58 Level 1
            thank you v.much

            please verify documentation, for ...mxml?recompile=true

            I found this somewhere on the web (i like it)

            this can go there(documentation) too:
            > function copyObject(obj) {
            > var copy = (obj instanceof Array) ? [] : {};
            > for(var i in obj) {
            > var item = obj ;
            > switch(item instanceof Array || item instanceof Object) {
            > case true:
            > copy
            = copyObject(item);
            > break;
            > default:
            > copy = item;
            > }
            > }
            > return copy;
            > }