Issue 17 in caffeine-hx: excludeList doesnt seem to work in the congig.xml (or i don't know how to use it :-)

1 view
Skip to first unread message

caffe...@googlecode.com

unread,
Mar 5, 2013, 1:01:26 PM3/5/13
to caffein...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 17 by arno...@gmail.com: excludeList doesnt seem to work in the
congig.xml (or i don't know how to use it :-)
http://code.google.com/p/caffeine-hx/issues/detail?id=17


What steps will reproduce the problem?

After not finding any docs on how the exculdeFiles should work
in .as3hx_config.xml i was looking in the sources
and figured i must specify it like this:

<excludeList>
<path value="starling/events/EventDispatcher.as" />
<path value="starling/events/TouchEvent.as" />
</excludeList>

if i run as3hx from the directory in which the starling dir resides
this doesn't work either.

What is the expected output? What do you see instead?

the excluded files are still parsed and result in a stack overflow (which
is another issue that is allready reported)

What version of the product are you using? On what operating system?

trunk

Please provide any additional information below.

In the Run.hx there is a method:

static function isExcludeFile(excludes: List<String>, file: String)
return Lambda.filter(excludes, function (path) return
as3hx.Config.toPath(file).indexOf(path.replace(".", "/")) > -1).length > 0

if i remove the .replace(".","/") part it works and the files are excluded.
Furthermore A little example would be nice for new users on how to specify
the paths.

thnx,

Arnoud



--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages