From: Todd M. <tm...@in...> - 2004-01-22 15:49:02
|
I'm trying to run some jython scripting from within Ant like: <script language="jpython"> <![CDATA[ print "AAA" import sys from java.io import File from common.java.com.foo.jython.Rpt import Rpt bundle = project.getProperty ('bundle.name') fileset = project.createDataType ('fileset') format = project.getProperty ('srt.format') fileset.setDir (File(bundle)) fileset.setIncludes ('**/*.rpt') ... ]]> </script> It seems to be partially working, except for the "import Rpt". I don't seem to be able to import any of my code. It does seem to be walking the path correctly though, because misnaming one of the branches does produce an error telling you it can't find the misnamed branch. Any suggestions for what's going wrong or how to correct it. Cheers, Todd Moyer |