You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by Marija Šljivović <ma...@gmail.com> on 2009/07/01 10:41:08 UTC

Re: [apache-rat-pd commit] r35 - New heuristic checkers for recognising functions are written: ActionScriptFunctionHeuristic...

Hi!

I have already planed to add ability to specify external dictionary
file from command line.
>Generally there is a better practice to get external resources (like the dictionary) dynamically during build process from the
>Internet than to store in svn.

We can do this on two ways:
1. We will have two dictionaries, internal and external one.
When external dictionary is used, it will switch off internal one and
will be not appended to internal dictionary(this will be useful if
someone wants to use only set of words defined in external
dictionary).
2. We can have only one dictionary which can be deployed to local
maven repository. In build time it will be treated like rest of
dependency artifacts.
If there is a better way, or if  there is a standard way for doing
something like this, please tell me.

>I assume you haven't created the dictionary yourself, have you?
No,I haven't. I found this dictionary as part of Jazzy spellchecker
project(http://sourceforge.net/projects/jazzy), and add some missing
words to it.

Thanks for advice!

Best regards,
Marija

>2009/6/30 Alexei Fedotov <al...@gmail.com>
>Hello Marija,
>Generally there is a better practice to get external resources (like the dictionary) dynamically during build process from the >Internet than to store in svn. I assume you haven't created the dictionary >yourself, have you?
>
>Thanks!

Re: [apache-rat-pd commit] r35 - New heuristic checkers for recognising functions are written: ActionScriptFunctionHeuristic...

Posted by Alexei Fedotov <al...@gmail.com>.
Marija,Sorry I was not specific enoguh. There is the get [1] task in ant to
get external artifacts during build process. I believe there should be
something like this in maven as well to download the required dictionary
when the tool is compiled. One may call ant from maven [2], or put the
dictionary in repository.

Anyway, you can put something like FIXME comment about this for now and go
ahead to get things working.

[1] http://ant.apache.org/manual/CoreTasks/get.html
[2] http://maven.apache.org/guides/mini/guide-using-ant.html


2009/7/1 Marija Šljivović <ma...@gmail.com>

> Hi!
>
> I have already planed to add ability to specify external dictionary
> file from command line.
> >Generally there is a better practice to get external resources (like the
> dictionary) dynamically during build process from the
> >Internet than to store in svn.
>
> We can do this on two ways:
> 1. We will have two dictionaries, internal and external one.
> When external dictionary is used, it will switch off internal one and
> will be not appended to internal dictionary(this will be useful if
> someone wants to use only set of words defined in external
> dictionary).
> 2. We can have only one dictionary which can be deployed to local
> maven repository. In build time it will be treated like rest of
> dependency artifacts.
> If there is a better way, or if  there is a standard way for doing
> something like this, please tell me.
>
> >I assume you haven't created the dictionary yourself, have you?
> No,I haven't. I found this dictionary as part of Jazzy spellchecker
> project(http://sourceforge.net/projects/jazzy), and add some missing
> words to it.
>
> Thanks for advice!
>
> Best regards,
> Marija
>
> >2009/6/30 Alexei Fedotov <al...@gmail.com>
> >Hello Marija,
> >Generally there is a better practice to get external resources (like the
> dictionary) dynamically during build process from the >Internet than to
> store in svn. I assume you haven't created the dictionary >yourself, have
> you?
> >
> >Thanks!
>



-- 
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://www.telecom-express.ru/
http://harmony.apache.org/
http://code.google.com/p/openmeetings/