Issue1163875

classification
Title: JythoncAntTask
Type: Severity: normal
Components: Jythonc compiler Versions:
Milestone:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: bzimmer, fwierzbicki, greifa
Priority: normal Keywords: patch

Created on 2005-03-15.16:53:47 by greifa, last changed 2009-03-14.02:49:21 by fwierzbicki.

Files
File name Uploaded Description Edit Remove
jytest.zip greifa, 2005-04-19.08:47:20
Messages
msg2434 (view) Author: Alex Greif (greifa) Date: 2005-03-15.16:53:47
Revision 1.2 of the JythoncAntTask.java has two bugs:
the following lines have a blank character at the end of 
the string which breakes the getopt module.
javaTask.createArg().setValue( "--addpackages " );
javaTask.createArg().setValue( "--workdir " );

removing the blanks at the end solves the problem.

cheers,
Alex.
msg2435 (view) Author: Brian Zimmer (bzimmer) Date: 2005-04-14.02:42:33
Logged In: YES 
user_id=37674

Can you upload a simple test case to demonstrate the bug?

thanks, brian
msg2436 (view) Author: Alex Greif (greifa) Date: 2005-04-19.08:44:35
Logged In: YES 
user_id=846733

The following testcase uses the ant task from the CVS. The 
ant script does the following:
- compile the JythoncAntTask.java (cvs version)
- jythonc ant task with attribute workdir="."

the error message of the jythonc task is:
 [jythonc] option --workdir  not recognized
The same happens if you use the addpackages attribute in 
the jythonc task.

The fix described in the first post solves the problem.

Alex.

msg2437 (view) Author: Alex Greif (greifa) Date: 2005-04-19.08:47:20
Logged In: YES 
user_id=846733

I had to remove the jython.jar (version 2.1) from the zip root 
folder.

ALex.
msg4289 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2009-03-14.02:49:21
jythonc is no longer maintained.
History
Date User Action Args
2009-03-14 02:49:21fwierzbickisetstatus: open -> closed
nosy: + fwierzbicki
resolution: wont fix
messages: + msg4289
2008-12-14 17:45:26fwierzbickisetcomponents: + Jythonc compiler, - None
2005-03-15 16:53:47greifacreate