Re: extended xslt task - use URIResolvers to create DependSet

2008-11-01 Thread Robert Koberg
On Nov 1, 2008, at 12:48 AM, Robert Koberg wrote: I can't find 'org.apache.env.Which diagnostics' -- the closest thing I can find is Xalan (of which I have the latest in the ant lib dir). I did find this when I checked out commons-xml and built it. Don't know if thi

Re: extended xslt task - use URIResolvers to create DependSet

2008-10-31 Thread Robert Koberg
BTW, here is the output from ant -diagnostics. As I mentioned before, I do have the class (org.apache.tools.ant.taskdefs.optional.CachingTraXLiaison) that is not being found in the ant-nodeps.jar (I even unzipped it to check). I modified the org.apache.tools.ant.taskdefs.XSLTProcess to choo

Re: extended xslt task - use URIResolvers to create DependSet

2008-10-31 Thread Robert Koberg
Hi, I am trying to test out the caching for the xslt task, but running into some basic problem. I have built ant to include my code changes and additions. But, I am getting a class not found exception. The ant- nodeps.jar in the dist/lib dir contains the class that is not being found. I do

Re: extended xslt task - use URIResolvers to create DependSet

2008-10-28 Thread Robert Koberg
type="xs:anyURI"/> On Oct 27, 2008, at 4:37 PM, Dominique Devienne wrote: On Mon, Oct 27, 2008 at 11:51 AM, Robert Koberg <[EMAIL PROTECTED]> wrote: I would love to u

Re: extended xslt task - use URIResolvers to create DependSet

2008-10-27 Thread Robert Koberg
On Oct 27, 2008, at 11:04 AM, Stefan Bodewig wrote: On Sun, 26 Oct 2008, Robert Koberg <[EMAIL PROTECTED]> wrote: * where is the DependSet being checked in the transformation(s)? I can't find it :) Guessing, since I didn't follow the discussion: nowhere. deletes the ta

extended xslt task - use URIResolvers to create DependSet

2008-10-26 Thread Robert Koberg
Hi, I am looking at extending the xslt task to allow for an enhanced check to determine whether a transform should proceed. Currently there are 2 options for checking whether a transform should proceed. The first just checks the XML and XSL Source against the output file. The 2cnd uses a

OT: META-INF/services - was Re: bug: jar task with nested service does not create META-INF/services

2008-02-27 Thread Robert Koberg
Reilly wrote: > Thanks, > this has already been noticed and a fix will be in ant 1.7.1. > > In the meantime, the nested element should not be used. > > Peter > > > On Wed, Feb 27, 2008 at 3:12 PM, Robert Koberg <[EMAIL PROTECTED]> wrote: > > Hi, > &g

bug: jar task with nested service does not create META-INF/services

2008-02-27 Thread Robert Koberg
Hi, I am trying to use the nested service element in the jar class. It produces a META-INF/service rather than META-INF/services: /** * Write SPI Information to JAR */ private void writeServices(ZipOutputStream zOut) throws IOException { Iterator serviceIterator;

Re: Resources & Introspection

2006-04-23 Thread Robert Koberg
Hi, I don't know if this is of interest, but I have made some custom tasks and types for XSLT. (I would think these could be used to get a resource from a jar) - for example: - SourceType (have implemented a XmlDomType) - create a top-level DOM (dom4j, JDOM, etc...) Document that can be used

ssh patch going to be applied?

2005-11-21 Thread Robert Koberg
Hi, I was looking at using the sshexec task again, but I still get the 'Auth cancel' error when doing more than one sshexec. Is the patch suggested here: http://www.ant-tasks.com/msg/23789.html able to be applied? Or possibly any of the other fixes mentioned? best, -Rob --

Re: Bus Error - custom task/type - when using taglib.xml

2005-10-01 Thread Robert Koberg
Jack Woehr wrote: Robert Koberg wrote: Strange though that this only comes up with Ant (from what I could find through google). I have not had problems loading XML files from jars or using namespaces in XML processing (the only thing different when using the taglib.xml). I wonder if it has

Re: Bus Error - custom task/type - when using taglib.xml

2005-10-01 Thread Robert Koberg
Jack Woehr wrote: Robert Koberg wrote: * a random hang (build stops with no error/exception) when running in -verbose mode * a random Bus Error when not in -verbose mode. Neither Ant nor any pure Java application does bus errors. They can only come from a bug the Java VM itself or

Bus Error - custom task/type - when using taglib.xml

2005-10-01 Thread Robert Koberg
Hi, I have some custom tasks and types. They work fine when I declare them in the build file. But if I use package specific taglib.xml's and reference them by namespace in the build file I get: * a random hang (build stops with no error/exception) when running in -verbose mode * a random B

Re: task namespaces

2005-09-12 Thread Robert Koberg
I guess an obvious question is what happens when something like this occurs: ... Does the build fail? -Rob Steve Loughran wrote: [EMAIL PROTECTED] wrote: Robert Koberg <[EMAIL PROTECTED]> wrote .. Peter Reilly wrote: To allow easy use, the nested elements caused by java refl

Re: task namespaces

2005-09-12 Thread Robert Koberg
Peter Reilly wrote: To allow easy use, the nested elements caused by java reflection on objects are placed in two namespaces - the default ant namespace (antlib: org.apache.tools.ant) and the namespace of the object that holds the nested element. This explains it, thanks - ignore my email that

Re: task namespaces

2005-09-12 Thread Robert Koberg
[EMAIL PROTECTED] wrote: Phil Weighill Smith <[EMAIL PROTECTED]> wrote .. the only way those unprefixed elements are in some other namespace is if it is declared at some encapsulating parent element. for example; http://www.example.org/someanturi";> otherwise, if an xmlns declarat

Re: task namespaces

2005-09-12 Thread Robert Koberg
[EMAIL PROTECTED] wrote: Steve Loughran <[EMAIL PROTECTED]> wrote .. this action is a direct element; default NS or local ns? this is my new test, in the new ns What confuses me here is that the ns of a nested element (not a type, an element) is what? local? or Ant'

Re:

2005-02-22 Thread Robert Koberg
Steve Loughran wrote: I finally sat down and did schema validation, because couldnt handle the complexity of namespaces very well, and I had a pressing need to do things. 1. Moderate refactoring of XMLValidateTask to get it all to work; a few places where careful subclassing can integrate with

Re: FTP Optional Task

2004-12-03 Thread Robert Koberg
Hi, The FTP task (or more likely commons-net) definitely works in mysterious ways (log files don't tell much). I use it to FTP to various servers (windows/? and linux/wu-ftp) and what I have seen is that you have to set up the task differentlty for different types of servers and ftp servers --

how to get custom task object?

2004-11-30 Thread Robert Koberg
Hi, I am trying to create some custom types and tasks, but having a problem getting back the custom task object to reset some values. My custom task is coming in as an UnknownElement. I then try to cast to my object using UnknownElement.getRealThing() (or getTask), but it gives me a null. How d

[Fwd: howto trigger an Ant build within java]

2004-01-29 Thread Robert Koberg
Hi, I am looking into using Ant (v1.6.0) more in my webapp so I can offer offline publishing equivalents. I am transforming some config XML into a build file. I then want to load that build file into a new org.apache.tools.ant.Project. The build.xml gets produce properly (it runs successfully from

howto trigger an Ant build within java

2004-01-29 Thread Robert Koberg
[resending -- didn't seem to make it through] Hi, I am looking into using Ant (v1.6.0) more in my webapp so I can offer offline publishing equivalents. I am transforming some config XML into a build file. I then want to load that build file into a new org.apache.tools.ant.Project. The build.xml get

Re: howto trigger an Ant build within java

2004-01-29 Thread Robert Koberg
[moving to dev list] Jim Fuller wrote: From: Robert Koberg [mailto:[EMAIL PROTECTED] Sent: 29 January 2004 02:49 To: user@ant.apache.org Subject: howto trigger an Ant build within java I am looking into using Ant (v1.6.0) more in my webapp so I can offer offline publishing equivalents. I am

RE: XML, XSL, and Ant

2003-10-23 Thread Robert Koberg
Hi, > -Original Message- > From: Kyle Adams [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 23, 2003 8:30 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > > We should be able to change this if SAXSource is supported, I'll take > > a stab at it - but I will need testers before I'm wil

RE: CVS Commit with ANT

2003-07-17 Thread Robert Koberg
Hi, Shouldn't you do a 'cvs update' first? And if so, what happens if you get a conflict? And if not, what happens if a change has been made and it won't let you commit? ? -Rob - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad