you probably forgot to define a method named setSpawn(Object x) in your java class.


detlef
Quoting [EMAIL PROTECTED]:

> Hi all,
> I got this JavaInputTask.java file 
> adding the spawn attribute to the java task.
> I compiled it and placed it in the lib directory with the proper
> directory 
> structure
> and added the lib direrctory to the environment classpath and path.
> But when i use the attribute with the java task it says 
> 
> 
> file:D:/testbldgjag/jagbuild/cxbuild.xml:366: The <java> task doesn't 
> support the "spawn" attribute.
>         at 
>
org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:422)
>         at 
> org.apache.tools.ant.ProjectHelper.configure(ProjectHelper.java:306)
>         at 
>
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:233)
>         at 
>
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:202)
>         at org.apache.tools.ant.Task.maybeConfigure(Task.java:257)
>         at 
>
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:251)
>         at 
>
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:202)
>         at org.apache.tools.ant.Task.maybeConfigure(Task.java:257)
>         at org.apache.tools.ant.Task.perform(Task.java:316)
>         at org.apache.tools.ant.Target.execute(Target.java:309)
>         at org.apache.tools.ant.Target.performTasks(Target.java:334)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>         at
> org.apache.tools.ant.Project.executeTargets(Project.java:1250)
>         at org.apache.tools.ant.Main.runBuild(Main.java:610)
>         at org.apache.tools.ant.Main.start(Main.java:196)
>         at org.apache.tools.ant.Main.main(Main.java:235)
> 
> 
> Any inputs on this would be very helpful.
> 
> Regards,
> Rosmon Sidhik
> 
> 
>
-----------------------------------------------------------------------------------------------------
> It doesn't matter how many say it cannot be done or how many
> people have tried it before; it's important to realize that whatever
> you're doing, it's your first attempt at it.
>
-----------------------------------------------------------------------------------------------------

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to