Ant validator in JDeveloper 10.1.3 Preview (isset propertty)

Typo on this Ant build.xml validator for the isset attribute! The validator is looking for 'propertty' instead of 'property' (two t's). Consequently, this generates compile time errors with no work-arounds... Is there a "manual" fix we can apply to the preview version?
Thanks.

This bug has been fixed for the Production Release. There is no manual fix I can give you for the Preview Release. When you say this is a compile-time error, do you mean that this is preventing you from compiling your project in some way? The error should just appear in the editor when you have the Ant buildfile open, and you should be able to safely ignore it.
-Matt Hawkins
Oracle JDeveloper

Similar Messages

  • Ant classpath in Jdeveloper

    Hi Guys,
    I am using Jdeveloper 10.1.3.3.0.4157. Ant is used to compile source and make war, ear files.
    Rececently, we encountered a problem because all jar files in ant library path <jdeveloper>/ant/lib are automatically added to the classpath for the javac task in ant script. There is a library called ant-oracle.jar, which is not from the original ant distribution, but from Oracle.
    1. Is there a way to disable this feature?
    it means not to add all jar files in ant library folder to classpath for javac task.
    2. Why the ant-oracle.jar is there?
    I tried to remove it from the folder and got an expcetion saying: class <xxxx> signer information does not match signer information of other classes in the same package.
    Thanks in advance,
    Steven

    This bug has been fixed for the Production Release. There is no manual fix I can give you for the Preview Release. When you say this is a compile-time error, do you mean that this is preventing you from compiling your project in some way? The error should just appear in the editor when you have the Ant buildfile open, and you should be able to safely ignore it.
    -Matt Hawkins
    Oracle JDeveloper

  • Problem removing files with CVS (JDeveloper 10.1.3 Preview)

    Hello,
    I've got a problem removing files from CVS :
    - I right-click on the file I want to remove -> Versioning -> Remove
    - The file is removed from local directory, and it appears in "Pending changes" view, on "Outgoing" tab. Its status is "scheduled for removal".
    - When I commit the file in the "Pending Changes" view, and click OK, then nothing happens. The file stay with "scheduled for removal" status, and it is not deleted on CVS server.
    I tried to commit the package or the project, but it's the same thing.
    Files additions and modifications work correctly.
    I'm using JDeveloper 10.1.3 Preview version.
    Is this a bug ? Or do I do something wrong ? Is there an other way to solve my problem ?
    Thanks.

    Here is the message displayed in the log window when I remove file (in Versioning menu) :
    C:\J2EE\Projets\budgetapptest\src\test\swm>
    $ <internal cvs client> remove -l Test_suppr_1.java
    cvs remove: scheduling `Test_suppr_1.java' for removal
    cvs remove: use 'cvs commit' to remove this file permanently
    Here is the message displayed in the log window when I COMMIT the "scheduled for removal" file :
    C:\J2EE\Projets\budgetapptest\src\test\swm>
    $ <internal cvs client> commit -F C:\DOCUME~1\19363~1.WIN\LOCALS~1\Temp\.jdevcvs_cmt22356.tmp Test_suppr_1.java
    cvs commit: Examining .
    Thanks.
    Message was edited by:
    user444728

  • Calling Ant script from Jdeveloper

    Hello Gurus,
    I am trying to call Ant script from Jdeveloper.
    I am able to call it when i don't use any javac in ant script.
    But as soon as i include a javac command
       <javac srcdir="${src}" destdir="${build}"/>
    I get below error
    C:\ant\windows\svn\AntJava\Project1\build.xml:20: Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK.
    It is currently set to "C:\Oracle\jdk160_24\jre"
    Needless to say i already have implemented all the steps mentioned in the internet.
    I have my JAVA_HOME correctly set in my PATH environment variable.
    I have tools.jar in the CLASSPATH
    Please give a solution from JDeveloper perspective and not a generic one as i am done with all the steps provided in internet.

    any one?????

  • Download of Jdeveloper 10.1.3 Preview

    Can not download JDeveloper 10.1.3 Preview for more than a week now. All links (complete download) and base do not work. Urgently need to do an evaluation. Thanks

    Does the URL you are trying to access contain download-east.oracle.com, download-west.oracle.com, or download-uk.oracle.com as root?
    If so, use one of the variants indicated above.
    Cheers, OTN

  • Building a Simple JSF and Web Services App in JDeveloper 10.1.3 Preview

    Hi
    I was trying out this example of JSF and webservices at:
    http://www.oracle.com/technology/products/jdev/101/howtos/jsfws/index.html
    Has anyone tried it before? I'm getting the following error:
    calling http://216.200.21.157:9090/soap
    WARNING: Unable to connect to URL: http://216.200.21.157:9090/soap due to java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
    java.rmi.RemoteException: ; nested exception is:
         HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
         at com.minc.ws.stockquery.proxy.runtime.NetXmethodsServicesStockquoteStockQuoteBinding_Stub.getQuote(NetXmethodsServicesStockquoteStockQuoteBinding_Stub.java:96)
         at com.minc.ws.stockquery.proxy.NetXmethodsServicesStockquoteStockQuotePortClient.getQuote(NetXmethodsServicesStockquoteStockQuotePortClient.java:40)
         at com.minc.ws.stockquery.proxy.NetXmethodsServicesStockquoteStockQuotePortClient.main(NetXmethodsServicesStockquoteStockQuotePortClient.java:29)
    Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
         at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:142)
         at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:118)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:175)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
         at com.minc.ws.stockquery.proxy.runtime.NetXmethodsServicesStockquoteStockQuoteBinding_Stub.getQuote(NetXmethodsServicesStockquoteStockQuoteBinding_Stub.java:79)
         ... 2 more
    Any ideas?
    Thanks
    Alex

    I'm not using 10.1.3 preview. I was using 10.1.3.1 production. I just copied the title of the tutorial as my subject. sorry for the confusion!! :)
    I used the HTTP analyzer and this is what I got in the header:
    <HTML><HEAD><TITLE>TCP Packet Monitor Error</TITLE></HEAD><BODY>JDeveloper TCP Packet Monitor encountered an error retrieving<P><pre>POST http://216.200.21.157:9090/soap HTTP/1.1
    Host: 216.200.21.157:9090
    Proxy-Connection: Keep-Alive
    Connection: TE
    TE: trailers, deflate, gzip, compress
    User-Agent: Oracle HTTPClient Version 10h
    SOAPAction: "urn:xmethods-delayed-quotes#getQuote"
    Accept-Encoding: gzip, x-gzip, compress, x-compress
    Content-type: text/xml; charset=UTF-8
    Content-length: 680
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="urn:xmethods-delayed-quotes"><env:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:mustUnderstand="1"/></env:Header><env:Body><ns0:getQuote env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><symbol xsi:type="xsd:string">orcl</symbol></ns0:getQuote></env:Body></env:Envelope></pre><P>The error was :<P><pre>IOException retrieving the response: java.net.ConnectException: Connection refused: connect</pre><P></HTML>
    It looks like I'm getting connection refused error... Hmmm.. wonder why?
    I'll download 10.1.3.2 and see if that helps..
    Thanks for looking into this!
    Alex

  • XML validator in Jdeveloper/ADF

    Hi,
    I have xml in String variable and want to validate again xsd. Any input on how we can do this in Jdeveloper/ADF
    Thanks in advance.

    This bug has been fixed for the Production Release. There is no manual fix I can give you for the Preview Release. When you say this is a compile-time error, do you mean that this is preventing you from compiling your project in some way? The error should just appear in the editor when you have the Ant buildfile open, and you should be able to safely ignore it.
    -Matt Hawkins
    Oracle JDeveloper

  • Error while deploying an apache ant script in Jdeveloper for webcenterspace

    Hi,
    I am trying to deploy the ExtendWebCenterSpaces project in Jdeveloper. I right clicked the build.xml -> Run Ant Target -> clean stage. This was successful. However, when I right-click build.xml -> Run Ant Target -> deploy-shared-lib, I get the following error:
    BUILD FAILED
    weblogic.security.internal.encryption.EncryptionServiceException: weblogic.security.internal.encryption.EncryptionServiceException: weblogic.security.internal.encryption.EncryptionServiceException: [Security:090219]Error decrypting Secret Key java.lang.SecurityException: The provider self-integrity check failed.
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.<init>(JSafeEncryptionServiceImpl.java:341)
         at weblogic.security.internal.encryption.JSafeEncryptionServiceFactory.getEncryptionService(JSafeEncryptionServiceFactory.java:48)
         at weblogic.security.UserConfigFileManager.initEncryptionRead(UserConfigFileManager.java:689)
         at weblogic.security.UserConfigFileManager.getUsernameAndPassword(UserConfigFileManager.java:171)
         at weblogic.deploy.utils.MBeanHomeTool.processUsernameAndPassword(MBeanHomeTool.java:411)
         at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:295)
         at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
         at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
         at weblogic.utils.compiler.Tool.run(Tool.java:158)
         at weblogic.utils.compiler.Tool.run(Tool.java:115)
         at weblogic.Deployer.run(Deployer.java:70)
         at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
         at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:357)
         at org.apache.tools.ant.Target.performTasks(Target.java:385)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
         at org.apache.tools.ant.Main.runBuild(Main.java:758)
         at org.apache.tools.ant.Main.startAnt(Main.java:217)
         at org.apache.tools.ant.Main.start(Main.java:179)
         at org.apache.tools.ant.Main.main(Main.java:268)
    Caused by: weblogic.security.internal.encryption.EncryptionServiceException: weblogic.security.internal.encryption.EncryptionServiceException: [Security:090219]Error decrypting Secret Key java.lang.SecurityException: The provider self-integrity check failed.
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.createCiphers(JSafeEncryptionServiceImpl.java:420)
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.create3DESKeyContext(JSafeEncryptionServiceImpl.java:359)
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.<init>(JSafeEncryptionServiceImpl.java:331)
         ... 34 more
    Caused by: weblogic.security.internal.encryption.EncryptionServiceException: [Security:090219]Error decrypting Secret Key java.lang.SecurityException: The provider self-integrity check failed.
         at weblogic.security.internal.encryption.JSafeSecretKeyEncryptor.decryptSecretKey(JSafeSecretKeyEncryptor.java:116)
         at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.createCiphers(JSafeEncryptionServiceImpl.java:395)
         ... 36 more
    Total time: 7 seconds
    Has anyone got any idea how to solve this?
    Thanks,
    C

    --> some error on posting please refer to the next post...
    From the error logs we can trace it out to the web project's Build.xml file ....I was getting a similar error and by commenting out the following lines in the web project's Build.xml I am able to run the build script correctly and get a EAR file. The lines are
    <!--
    <assemble
    moduleDir="${generated.module.root}"
    moduleName="${project.name}"
    srcOutputDir="${assembly.src}"
    appRootDir="${ear.root}">
    <assemblyContext factory="org.apache.beehive.controls.runtime.assembly.WebAppAssemblyContext$Factory" />
    <assemblyContext factory="org.apache.beehive.controls.runtime.assembly.AppAssemblyContext$Factory" />
    <classpath refid="assembly.classpath" />
    <fileset dir="${project.dir}">
    <include name="**/*.controls.properties" />
    </fileset>
    </assemble>
         -->
    Please check it now, also if any one can let us know the function or role played by the above lines it would be great. Also if there would be any future or unseen problems by commenting out these lines please do let us know...
    Thanks
    -MiM
    Edited by prodigymonish83 at 10/22/2007 5:56 AM

  • How to remove ANT Validation while Compiling SCA or BPEL in 11.1.1.4

    SOA/SCA/BPEL Gurus,
    As you know, sometimes we have to use the runtime WSDL URL directly in the BPEL process when invoking an external web service (say OSB). But then the service needs to be always available when deploying thru' ANT script as it validates and compiles. It has been a big problem whenever I deploy the BPEL if the invoking service (OSB) is down. On the other hand, the OSB deploys fine using ANT when the SCA is down.
    I am expecting the BPEL should throw an error only at the runtime but not at design or deployment time like OSB.
    Now my question is,
    Though we all know we can resolve this by importing the WSDL/XSD to the project, I would like to know if there is a way to Disable/Remove the Validation part in the ANT Script so that it can create the jar/sar file and deploy to the server.
    FYI -
    The error is thrown out from ant-sca-compile.xml and the target is <target name="scac" description="Compile and validate a composite">
    Please help !!!
    Thanks
    Bala
    Edited by: 805364 on Mar 11, 2012 9:01 PM

    Bala,
    On the other hand, the OSB deploys fine using ANT when the SCA is down. OSB always needs a local copy of WSDL/XSD. It never references any WSDL/XSD over network at design,deployment or runtime.
    I am expecting the BPEL should throw an error only at the runtime but not at design or deployment time like OSB. For building and validating the process components at deployment time, XSD/WSDL's must be available otherwise server may end up deploying incorrect/invalid configurations. So I don't think SOA is doing anything unexpected. In case you don't want to import artifacts into project then you have two other options -
    1. Use MDS for sharing artifacts
    2. Use UDDI (Universal Description Discovery and Integration). Oracle recommends Oracle Service Registry 11g (OSR). The advantage is that you can use OSR and SOA Suite in a Shared WebLogic Domain.
    Regards,
    Anuj

  • XML Schema validation in JDeveloper 10.1.3.2.0 - is it namespace-aware?

    Hi everybody
    Look at the following simple xml schema:
    <?xml version="1.0" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="num" type="xsd:string"/>
    <xsd:element name="amount" type="xsd:integer"/>
    <xsd:element name="invoice">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="num"/>
    <xsd:element ref="amount"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="invoices">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="xsd:invoice" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    When I open it in JDeveloper 10.1.3.2.0 and choose "Validate XML", validation executes without errors.
    In spite of bad namespace declaration in <xsd:element ref="xsd:invoice" ...
    For example, in XML Spy validation of this schema ends with error: "'xsd:invoice' must refer to an existing element".
    If there any option on JDeveloper to turn on namespace-aware validation to prevent the above situation?

    hi
    Indeed, the "Validate XML" menu option only shows "Validate XML: 0 errors, 0 warnings.".
    But, if you look at the "Design" tab for your schema, the "invoices" element node contains an "xsd:invoice" sequence shown in red. If you change "xsd:invoice" to "invoice" this becomes white and the node can be expanded.
    One other thing, registering an XML Schema in JDeveloper like the one you posted, isn't possible without an "oracle.xml.parser.schema.XSDException" (without further details).
    regards
    Jan Vervecken

  • Generate SAR using  ant  or using Jdeveloper

    Hi!
    I 'm generating the sar file using the ant-sca-package.xml file but when I compare it with the jar generated with the "deploy to sar" option from the IDE Jdeveloper, they are different. The jar file generated with Jdeveloper excludes some folders and also modified the composite.xml file :S
    Why is that? which is the correct way to generate a Sar file?
    Thanks in advance
    NH

    Hi NH,
    You seems to be doing the right way... AFAIK ant-sca-package.xml is the way to go...
    Biemond's blog is a good reference...
    http://biemond.blogspot.com.au/2009/09/deploy-soa-suite-11g-composite.html
    Cheers,
    Vlad
    It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts)
    https://forums.oracle.com/forums/ann.jspa?annID=893

  • WSI Validation in Jdeveloper

    I tried to validate a wsdl against the wsi standard like shown in:
    http://www.oracle.com/technology/products/jdev/howtos/1013/ws-i/wsi_howto.html
    But my jdeveloper (10.1.3.1) prompts:
    C:\Programme\OracleJdevSOA10.1.3Prod\jdev\mywork\wsia.bat -config "C:\Programme\OracleJdevSOA10.1.3Prod\jdev\mywork\analyzerConfig.xml"
    -> there is no jdev\mywork directory and there is no wsia.bat in the jdeveloper directory....

    Here a workaround:
    i had to create the workspace mywork and a project in this workspace with a wsdl.
    After validating this one, the wsia.bat was created there and i was able to use it in other workspaces and project.
    I think this is a bug in jdev....

  • Unable to open ant file using JDeveloper

    I am using JDeveloper 10.1.3 production (version 10.1.3.0.4 build 3673) and I am having difficulty understanding the way ant build files are handled by this version.
    I would like to open ant files (build.xml) just like any other XML file so that I can edit it from the JDeveloper. But I am not able to do it, because the build.xml is at the root of the my application directory structure and trying to add that application root directory to the project contents results in directory with .java files getting added (but not the root directory itself, which has the build.xml file). Of course, I can add a dummy Something.java file under the root directory to cheat JDeveloper into adding this root directory to project contents directories.
    But I am wondering whether there is a better way to do this?

    You are adding the directory in the "Java Content"
    Try expending the Project Content and adding the directory under Resource.

  • JDeveloper 11 g Tech Preview 2: jbo-26061 jdbc error

    I tried the 11 g JDeveloper TP 2, creating a web application based on ADF BC. The database I use is Oracle 9. I created the Application Module (as I have done already very often). Starting the Model project, gives me the Business Component Browser - it works well. When I start the web application (let's say with a table), I receive an JBO-26061 error (error opening jdbc connection) - nothing else. I'm quite used to work with the JDeveloper/ADF, but I have no idea whats the problem ?

    There is a JDeveloper 11g Tech preview forum: JDeveloper and OC4J 11g Technology Preview

  • Validations in Jdeveloper with ADF

    Hello I would like to know where I can find examples with code of validations done for ADF in Jdeveloper or some tutorial.
    Thank you very much

    Well thats pretty difficult to answer since it is so extensive.
    You can validate data in the database, in your business services, in the bindings in the UI (on the server side) or client side validation. You can validate when you enter data, save data, query data...and you can do it before or after those actions!!!! So you can see, its pretty extensive.
    The developer guide tells you about this.
    Regards
    Grant

Maybe you are looking for

  • Start-Up problems in Zen Nano 51

    Greetings... I just bought?3 Zen?Nano players 2 months ago, everything was working perfectly but now I'm having problems with one of them, when I press the play button to power on my player, the screen shows the Creative logo but immediately it turns

  • Pavilion A6430f recovery error code

    Hi, I have a Pavilion a6430f desk top and I just replaced both hard drives on it. I inserted my recovery disk and began the recovery process when I received an error code of 0x400 100 130000 1002 as the hard drives were just beginning the reformattin

  • Best 3G and RealMedia Compression?

    Morning, We've just started making 3G and RM videos for mobile phones, with limited success. So far we've gone from FCP5 and exported by Quicktime Conversion to 3G. For RM, we've had to use Helix Media Producer (Winblows Only). When I say limited suc

  • Post Moved No-phoneline-after-switching-from-Sky...

    Moved http://community.bt.com/t5/Phones/No-phoneline-aft​er-switching-from-Sky-to-BT/td-p/782646 If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark

  • Time machine: cannot access backups

    Time Machine seems to backup correctly: it reports the correct time of backup and I can see the right timestamp in Finder. However I cannot access any backup in the Star Wars interface: when I open it I see some time indications  by the timeline, one