Am Samstag, 28. November 2009 12:49:10 schrieb Jean-Michel Personne:
> Hello,
> 
> I kown your -b option of eccpc compiler. TinyMCE has many files and these
> are in many subdir. If I compile each file, I must add a MapURL entry for
> each in tntnet.conf ?
> 
MapUrl uses regular expressions, so it should be easy to add only a few.

A problem may be if you have subdirs. The component identifiers (myc...@mylib) 
do not have any hierarchy. You may use some convetion.

For example, you may use:
MapUrl ^/mysubdir/(.*)/(.*).js   $1__$2...@mylib

If you have a file e.g. somedir/somefile.js, you compile it with:
        ecppc -n somedir__somefile_js somedir/somefile.js

it is found with the url
        /mysubdir/somedir/somefile.js

I have not tested that yet. The explanation may contain bugs. Please tell me, 
if it does not work.

The name of the component, passed with -n to ecppc must be a valid C++-class 
name (except that it may start with a digit). At least currently. There is 
actually no technical reason any more, why ecppc uses the name as a class 
name. I may change it in a future release.

Tommi

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to