Hello,
In order to improve network performance, we are tring to assemble the isomorphic js files.But when running “smartclientSDK\WEB-INF\bin\fileAssembler.bat” wth the required arguments (config,webRoot & outputDir), the below exception is thrown.
=====================================================
2009-03-22 17:51:31,781 [main] INFO ISCInit - No ServletContext available yet - using container IO for now
Exception in thread “main” java.lang.Exception: Specified webRoot ‘USE_CONTAINER’
relies on containerIO - this is not supported from the command line.
at com.isomorphic.assembly.FileAssembler.main(FileAssembler.java:2306)
The fileAssembly.xml code is as below:-
<FileAssembly>
<assemblies>
<FileAssemblyEntry uri="/shekharAssembly.js">
<compress>true</compress>
<components>
<component>
<type>file</type>
<fileName>ISC_History.js</fileName>
<jsStripping>full</jsStripping>
<jsObfuscation>1</jsObfuscation>
</component>
<component>
<type>file</type>
<fileName>ISC_Core.js</fileName>
<jsStripping>full</jsStripping>
<jsObfuscation>1</jsObfuscation>
</component>
<component>
<type>file</type>
<fileName>ISC_Foundation.js</fileName>
<jsStripping>full</jsStripping>
<jsObfuscation>1</jsObfuscation>
</component>
<component>
<type>file</type>
<fileName>ISC_Containers.js</fileName>
<jsStripping>full</jsStripping>
<jsObfuscation>1</jsObfuscation>
</component>
<component>
<type>file</type>
<fileName>ISC_Grids.js</fileName>
<jsStripping>full</jsStripping>
<jsObfuscation>1</jsObfuscation>
</component>
<component>
<type>file</type>
<fileName>ISC_Forms.js</fileName>
<jsStripping>full</jsStripping>
<jsObfuscation>1</jsObfuscation>
</component>
<component>
<type>file</type>
<fileName>ISC_DataBinding.js</fileName>
<jsStripping>full</jsStripping>
<jsObfuscation>1</jsObfuscation>
</component>
</components>
</FileAssemblyEntry>
</assemblies>
</FileAssembly>
Please let us know if we are missing anything.
Thanks
Chandrashekhar