The 'cwd' is never changed. What changes in the project's basedir,
based on the various attributes that ant accepts. See the table in
ant's documentation for details.
Personally, I always use subant instead of ant, to avoid messing
up the 'basedir'. You probably also want to use
I got that problem too, but my solution maybe too low level. In Jython
import folders are hard coded and read only, so I wrote my own launcher
that understood -M option and a special Java property and put them into
PySystemState.path list (for example, state.path.append(new
PyString(path));).
Thank a bunch for the reply!
I have never used p.resolveFile() and am having a hard time finding
documentation on it. Is it Ant api or python?
Would you use it directly inside script? Would you use it for
the sys.path.append() calls? If so, how?
target name=bar description=Does
I have never used p.resolveFile() and am having a hard time finding
documentation on it. Is it Ant api or python?
Ant API. org.apache.tools.ant.Project#resolveFile(String), returns
File or String, I don't recall. --DD
Would you use it directly inside script? Would you use it for
the
Thanks, DD!
I had to use project.resolveFile(), but that got it going!
yes!
-Sol
On Jun 20, 2006, at 12:52 PM, Dominique Devienne wrote:
I have never used p.resolveFile() and am having a hard time finding
documentation on it. Is it Ant api or python?
Ant API.