[ 
https://issues.apache.org/jira/browse/PYLUCENE-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16823696#comment-16823696
 ] 

Petrus Hyvönen commented on PYLUCENE-48:
----------------------------------------

Hi Andi,

Yes I mean the --files separate option. The actual command line is in the 
attached example,

{{python -m jcc --use_full_names --jar Test_parameter_order.jar --python test2 
--files separate --package org.jcc.test --build --install}}

 

Yes it seems to work well with numbers on --files in combination with 
--use_full_names, also large number that basically forces each class to be in a 
separate file.

> --files separate not working with --use-full-names 
> ---------------------------------------------------
>
>                 Key: PYLUCENE-48
>                 URL: https://issues.apache.org/jira/browse/PYLUCENE-48
>             Project: PyLucene
>          Issue Type: Bug
>         Environment: windows 64, python 3.7
>            Reporter: Petrus Hyvönen
>            Priority: Minor
>         Attachments: separate files example.zip
>
>
> Hi,
> It seems like the --file separate option is not working together with the 
> --use-full-names option.
> The linking says:
> {{build\_test2\java\__init__.cpp(23): error C3861: 'getJavaModule': 
> identifier not found}}
> {{build\_test2\java\__init__.cpp(32): error C3861: 'getJavaModule': 
> identifier not found}}
> {{error: command 'C:\\Program Files (x86)\\Microsoft Visual 
> Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.20.27508\\bin\\HostX86\\x64\\cl.exe'
>  failed with exit status 2}}
> The __init__,cpp file at the failed location:
> {{void __install__(PyObject *module)}}
> {{{}}
> {{ module = getJavaModule(module, "", "java");}}
> {{ io::__install__(module);}}
> {{ lang::__install__(module);}}
> {{ util::__install__(module);}}
> {{}}}
>  
> Same works without the --use-full-names.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to