That's fine...just reply then and I'll see if I can help you :)
Enjoy your time away ;)
Markusin wrote:
Hello Scot
I will be awy for 2 weeks. I hope it is ok, if I will answer you when I am
back again.
Markus
<-----Original Message-----
<From: Scot P. Floess [mailto:[EMAIL PROTECTED]
<Sent: Freitag, 9. Juni 2006 12:58
<To: Markusin
<Cc: 'Ant Users List'
<Subject: Re: Implementing ant task which extends ExecTask
<
<Markusin:
<
<Well you can certainly do all the finds and string compares
<within ant.
<In fact, you can probably do your sql work as well from ant as well.
<
<I'm not clear as to what isn't working. You mention using the
<Exec task... Are you using ant to call out to the OS to find
<all files and do some kind of work using shp2pgsql ? Or, are
<you using ant for most of your work (meaning finding, etc) and
<then taking the results and "handing" those to shp2pgsql ?
<
<Anyway can I get a copy of your build.xml so I might
<understand better?
<I might not be able to help you today...but usually Saturday
<and Sunday mornings are my "tinker time" at home...so I can
<probably devote some time to it then...
<
<Scot
<
<
<Markusin wrote:
<> Hi Scot
<>
<> Ok, sorry for the small description.
<>
<> My intention is to execute shp2pgsql as an ant target.
<> So first I tried to do this using the existing ant target exec, but
<> because of small functionality in stringparsing (need to pass as
<> arguments the name of the file (shapefile), the name of the
<> target-table (which is the name of the file without path and
<suffix) and the schemaname).
<>
<> So I start to write my own ant task, which has as input:
<> 1) input path
<> 2) schema name
<>
<> The input path will be scanned recursivly, finding all files
<with the
<> suffix *.shp, than starts the stringparsing, which creates
<the name of
<> the table and after that for each found shape will there should be
<> calles shp2pgsql <shapefile> <tablename> <schemaname> .
<>
<> So this I am actually trying (by using the ExecTask class), but
<> without success.
<>
<>
<>
<> ___________________________________________________________
<> Telefonate ohne weitere Kosten vom PC zum PC:
<> http://messenger.yahoo.de
<>
<>
<
<--
<Scot P. Floess
<27 Lake Royale
<Louisburg, NC 27549
<
<252-478-8087 (Home)
<919-754-4592 (Work)
<
<Chief Architect JPlate http://sourceforge.net/projects/jplate
<Chief Architect JavaPIM http://sourceforge.net/projects/javapim
<
<
<---------------------------------------------------------------------
<To unsubscribe, e-mail: [EMAIL PROTECTED] For
<additional commands, e-mail: [EMAIL PROTECTED]
<
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Scot P. Floess
27 Lake Royale
Louisburg, NC 27549
252-478-8087 (Home)
919-754-4592 (Work)
Chief Architect JPlate http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]