1. #1
    Sencha User
    Join Date
    Apr 2012
    Vote Rating
    jksnu is on a distinguished road


    Default Api.js is not created automatically in DirectJNgine


    I am using ExtJs 4.1, DirectJNgine 2.1, Java 1.6, tomcat 6 and Eclipse Helius . We are facing a very abnormal problem. The problem is that Api.js is not being created automatically and the worse thing is that it is created automatically on one pc but failed on some another pc with same code. The path of directory of Api.js in web.xml is also right because if we create Api.js file manually on this path, its start working. Sometimes, it happens that when we set up project in Eclipse for the first time with DJN, Api.js is not created automatically and if we provide it manually and then start tomcat and after this if we delete this Api.js and again restart tomcat, the Api.js file is being created successfully.

    I am not finding any solution or any reason for this absurd behaviour.

  2. #2
    Ext JS Premium Member
    Join Date
    May 2009
    Barcelona (Spain)
    Vote Rating
    pagullo will become famous soon enough pagullo will become famous soon enough



    Looks a lot like a file creation permission thing.
    Pedro Agulló, Barcelona (Spain) - pagullo.soft.dev at gmail.com
    Agile team building, consulting, training & development
    DirectJNgine: http://code.google.com/p/directjngine - Log4js-ext: http://www.softwarementors.com/projects/p/log4js-ext/

Thread Participants: 1