You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by jyoti100 <jp...@yahoo.com> on 2008/07/29 12:16:58 UTC

Problem :ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4

Hi,

I am running an ant task in Oracle JDeveloper 11g Tech Preview 4

the Task is as follows :

<target name="generate-from-wsdl5" >
<oracle:jaxwsGenImpl 
wsdl="contract/wsdl/${SRC_WSDL}"
/>

</target>

The Output is : 

D:\Pras3\WebServiceRi\ws>ant generate-from-wsdl5
Buildfile: build.xml
[taskdef] File D:\Pras3\WebServiceRi\ws\oracle\antlib.xml does not exist

generate-from-wsdl5:

BUILD FAILED
D:\Pras3\WebServiceRi\ws\build.xml:188: Problem: failed to create task or
type antlib:oracle:jaxwsGenImpl
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-D:\Jdev11-Tecpr4\ant\lib
-C:\Documents and Settings\jnandi\.ant\lib
-a directory added on the command line with the -lib argument


Total time: 0 seconds


I am getting the above error can sommeone please help me and please tell me
how to use the ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4 or
Jdev 11G Tech Prev 4 dont support this

Thanks and Regards 
Jyoti 

-- 
View this message in context: http://www.nabble.com/Problem-%3Aant-task-%22oracle%3AjaxwsGenImpl-%22-on-Jdev-11G-Tech-Preview-4-tp18709181p18709181.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Problem :ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4

Posted by Steve Loughran <st...@apache.org>.
jyoti100 wrote:
> Yes in the classpath ant-oracle.jar is present, but I think the main error is
>  Problem: failed to create task or type antlib:oracle:jaxwsGenImpl
> 

No, the error message is "failed to create task or type...", which 
happens if

1. There is no resource called /oracle/antlib.xml on the classpath
2. there is a resource called /oracle/antlib.xml  on the classpath, but 
it does not define a task called jaxwsGenImpl

This is one of
* a classpath problem
* the antlib: URI for the task is wrong


-- 
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Problem :ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4

Posted by jyoti100 <jp...@yahoo.com>.
Yes in the classpath ant-oracle.jar is present, but I think the main error is
 Problem: failed to create task or type antlib:oracle:jaxwsGenImpl

Please suggest.

Thanks and Regards

Jyoti

Chris Green-6 wrote:
> 
> Does your classpath include reference to ant-oracle.jar?
> 
> On 7/29/08, jyoti100 <jp...@yahoo.com> wrote:
>>
>> Hi,
>>
>> I am running an ant task in Oracle JDeveloper 11g Tech Preview 4
>>
>> the Task is as follows :
>>
>> <target name="generate-from-wsdl5" >
>> <oracle:jaxwsGenImpl
>> wsdl="contract/wsdl/${SRC_WSDL}"
>> />
>>
>> </target>
>>
>> The Output is :
>>
>> D:\Pras3\WebServiceRi\ws>ant generate-from-wsdl5
>> Buildfile: build.xml
>> [taskdef] File D:\Pras3\WebServiceRi\ws\oracle\antlib.xml does not exist
>>
>> generate-from-wsdl5:
>>
>> BUILD FAILED
>> D:\Pras3\WebServiceRi\ws\build.xml:188: Problem: failed to create task or
>> type antlib:oracle:jaxwsGenImpl
>> Cause: The name is undefined.
>> Action: Check the spelling.
>> Action: Check that any custom tasks/types have been declared.
>> Action: Check that any <presetdef>/<macrodef> declarations have taken
>> place.
>>
>> This appears to be an antlib declaration.
>> Action: Check that the implementing library exists in one of:
>> -D:\Jdev11-Tecpr4\ant\lib
>> -C:\Documents and Settings\jnandi\.ant\lib
>> -a directory added on the command line with the -lib argument
>>
>>
>> Total time: 0 seconds
>>
>>
>> I am getting the above error can sommeone please help me and please tell
>> me
>> how to use the ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4
>> or
>> Jdev 11G Tech Prev 4 dont support this
>>
>> Thanks and Regards
>> Jyoti
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Problem-%3Aant-task-%22oracle%3AjaxwsGenImpl-%22-on-Jdev-11G-Tech-Preview-4-tp18709181p18709181.html
>> Sent from the Ant - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-%3Aant-task-%22oracle%3AjaxwsGenImpl-%22-on-Jdev-11G-Tech-Preview-4-tp18709181p18710664.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Problem :ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4

Posted by Chris Green <ch...@googlemail.com>.
Does your classpath include reference to ant-oracle.jar?

On 7/29/08, jyoti100 <jp...@yahoo.com> wrote:
>
> Hi,
>
> I am running an ant task in Oracle JDeveloper 11g Tech Preview 4
>
> the Task is as follows :
>
> <target name="generate-from-wsdl5" >
> <oracle:jaxwsGenImpl
> wsdl="contract/wsdl/${SRC_WSDL}"
> />
>
> </target>
>
> The Output is :
>
> D:\Pras3\WebServiceRi\ws>ant generate-from-wsdl5
> Buildfile: build.xml
> [taskdef] File D:\Pras3\WebServiceRi\ws\oracle\antlib.xml does not exist
>
> generate-from-wsdl5:
>
> BUILD FAILED
> D:\Pras3\WebServiceRi\ws\build.xml:188: Problem: failed to create task or
> type antlib:oracle:jaxwsGenImpl
> Cause: The name is undefined.
> Action: Check the spelling.
> Action: Check that any custom tasks/types have been declared.
> Action: Check that any <presetdef>/<macrodef> declarations have taken place.
>
> This appears to be an antlib declaration.
> Action: Check that the implementing library exists in one of:
> -D:\Jdev11-Tecpr4\ant\lib
> -C:\Documents and Settings\jnandi\.ant\lib
> -a directory added on the command line with the -lib argument
>
>
> Total time: 0 seconds
>
>
> I am getting the above error can sommeone please help me and please tell me
> how to use the ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4 or
> Jdev 11G Tech Prev 4 dont support this
>
> Thanks and Regards
> Jyoti
>
> --
> View this message in context:
> http://www.nabble.com/Problem-%3Aant-task-%22oracle%3AjaxwsGenImpl-%22-on-Jdev-11G-Tech-Preview-4-tp18709181p18709181.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org