I think you did the right thing.

We have GOT to make this easier!  Sorry for the difficulty.

Bob Gobeille
[email protected]<mailto:[email protected]>

On Nov 18, 2009, at 2:49 PM, Dragoslav Mitrinovic wrote:

Bob,

The two "licenses" I was trying to add are:
"Motorola Confidential Proprietary"
and
"Motorola Confidential Restricted"

I think trying to add them as templates was a wrong approach. So instead I 
added them from the GUI via "Organize->License->Manage terms", where I created 
new canonical group, and then associated the above two phrases with the group.

This worked OK for the first phrase, but not for the second one. I realized 
that word "proprietary" is somehow treated specially, so I looked into 
Filter_License source. In the end, I got it to work by making changes in 
Filter_License/wordcheck.c (I added "confidential" into GoodWords array) and 
Filter_License/1sl.c (added new phrase "< %4 confidential %EOS >" into 
List1SL). This gives me just what I wanted: the phrases above are reported as 
separate license, rather than being grouped with all other phrases.

Please let me know if this is the right approach, and thanks again for all your 
help.
-Drago


On Wed, Nov 18, 2009 at 8:54 AM, Gobeille, Robert 
<[email protected]<mailto:[email protected]>> wrote:
Hi Drago,
How short is the license you want to add?   If it is under three tokens, or 12 
bytes, Filter_License will ignore it.
Can you send us the text you are trying to add?

Bob



_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to