Re: Is Ant 1.6.2 supported in 10.1.2?

Oracle bundles the latest production release of Apache Ant available at the time of a JDeveloper release. Using newer versions of Apache Ant is typically possible. In fact, starting with 10.1.3, we've made it easier than ever to use a different version of Ant with JDeveloper. However, there is of course no way at the time of a JDeveloper release to test with future versions of Apache Ant. We therefore cannot guarantee complete compatibility with new Ant releases. Using a version of Apache Ant that is newer than the one bundled with a specific release of JDeveloper is therefore an untested and unsupported configuration.
If you wish to use a fully tested and supported configuration, you would need to wait for the next release of JDeveloper, which will be tested with the latest production release of Apache Ant. At this point it looks like JDeveloper 10.1.3 will ship with Apache Ant 1.6.2 or 1.6.3.
-Matt Hawkins
Oracle JDeveloper

Yes, it is possible in 10.1.3 to easily add JAR files to the Ant classpath. There is a new "Classpath" panel in the Ant settings where JAR files for additional tasks can be added. Again, this can be configured differently for each project, so if you need to use different versions of tasks or different sets of tasks for each project, you can do so. Also, we now add the ${user.home}/.ant/lib directory to the classpath, just like the command line Ant does. So a user can keep additional JAR files in that location which they want to have available to all versions of Ant.
Support for the Ant 1.6 "import" task is already in for the 10.1.3 Production Release. You will be able to run imported targets through the Run Ant action. Support for target overriding is included. That is, if there is a target with the same name in both the original and imported buildfile, the imported target will be prefixed with its project name. Also, you can right click on an "import" element in the structure pane and select "Go to Imported File". This will open the imported buildfile in the editor.
We have also added enhanced Ant editing features for 10.1.3. For example, we now scan the buildfile for property definitions. This allows us to provide code insight for property names. Also, if you hold the mouse over a property name, its value will appear in a tooltip. Imported buildfiles are also scanned in this manner. So even properties defined in imported buildfiles are available in the code insight and tooltip values.
-Matt Hawkins
Oracle JDeveloper

Similar Messages

  • What version of ant and jikes is supported with JAVA1.6.0_12

    Hi
    Is jikes1.13 and apache ant 1.6.2 supported by java1.6.0_12.?

    Unless Sun have broken binary compatibility somewhere, which would be big news, yes.

  • Is Ant 1.6.2 supported in 10.1.2?

    JDeveloper 10.1.2 is distributed with Ant 1.5.2, I have modified jdev/lib/libaries.xml so that it uses Ant 1.6.2, as outlined in this forum topic.
    New ant version
    This modification works well (so far).
    Is this modification supported by Oracle? If we had some problem would Oracle provided support via a TAR?
    thankyou,
    Chris

    Yes, it is possible in 10.1.3 to easily add JAR files to the Ant classpath. There is a new "Classpath" panel in the Ant settings where JAR files for additional tasks can be added. Again, this can be configured differently for each project, so if you need to use different versions of tasks or different sets of tasks for each project, you can do so. Also, we now add the ${user.home}/.ant/lib directory to the classpath, just like the command line Ant does. So a user can keep additional JAR files in that location which they want to have available to all versions of Ant.
    Support for the Ant 1.6 "import" task is already in for the 10.1.3 Production Release. You will be able to run imported targets through the Run Ant action. Support for target overriding is included. That is, if there is a target with the same name in both the original and imported buildfile, the imported target will be prefixed with its project name. Also, you can right click on an "import" element in the structure pane and select "Go to Imported File". This will open the imported buildfile in the editor.
    We have also added enhanced Ant editing features for 10.1.3. For example, we now scan the buildfile for property definitions. This allows us to provide code insight for property names. Also, if you hold the mouse over a property name, its value will appear in a tooltip. Imported buildfiles are also scanned in this manner. So even properties defined in imported buildfiles are available in the code insight and tooltip values.
    -Matt Hawkins
    Oracle JDeveloper

  • Whenever I try to download the Edge Animate tutorials it says currently having issues ant to contact customer support

    Whenever I try to download the Edge Animate tutorials it says currently having issues ant to contact customer support

    Hi,
    Now sure from where you are downloading edge animate tutorials. Can you please post any link or screenshots?
    If it is within browser then..
    1. Try in different browser.
    2. Clear the browser cache.
    Regards,
    Devendra

  • Compiling ant 1.6.2 for Solaris 10 x86

    Hi,
    I need to compile Ant 1.6.2 on Solaris 10 x86 edition (S10 x86 comes with ant 1.5.4 but some of the newer ant syntaxes are not supported in 1.5.4). When I tried doing the compile using Ant 1.6.2 sources from ant.apache.org, I get the following error:
    src/main/org/apache/tools/ant/types/AbstractFileSet.java:48: cannot resolve symbol
    symbol : class ModifiedSelector
    location: package modifiedselector
    import org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector;
    src/main/org/apache/tools/ant/taskdefs/Delete.java:420: cannot resolve symbol
    symbol : class ModifiedSelector
    location: class org.apache.tools.ant.taskdefs.Delete
    public void addModified(ModifiedSelector selector) {
    ^
    ------->(The caret is under M of the word ModifiedSelector)
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -deprecation for details.
    10 errors
    ... Failed compiling Ant classes !
    Bootstrap FAILED
    ModifiedSelector class has some unresolved symbols. And this is present at many places.
    Any idea what I should do to get over this error ?
    Thanks,
    Murthy

    I had the same problem on Solaris 10 sparc. The problem seems to relate to symbolic links with
    long names not being extracted correctly from the tar file (resulting in @LongLink files popping
    up around the place). If you use the .zip source file then the build goes fine.
    Philip.

  • Ant tools: converter java card -  class file  not belonging to the package!

    Hi
    I have another problem with converter. Could you help me please again if you have the time?
    I have created a directory when I save the class files generated by javac. After That , I use convert in this way:
    <convert
    JCA="true"
    EXP="true"
    CAP="true"
    packagename="testUn/classes/testUn"
    packageaid="0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x02:0x00"
    majorminorversion="1.0"
    verbose = "true">
    <AppletNameAID
    appletname="testUn.classes.testUn.PorteAppUn"
    aid="0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x01:0x02:0x00:0x00"/>
    <classpath refid="classpath"/>
    </convert>
    Here is the answer of the computer:
    [echo] Generation of the CAP,JCA and EXP files...
    [convert] Java Card Ant Tasks, Version 1.0
    [convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [convert] Note: Usage of Java Card Ant Tasks is optional. Java Card Ant Tasks are not supported by Sun Microsystems, Inc.
    [convert] Java Card 2.2.2 Class File Converter, Version 1.3
    [convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [convert] parsing /home/ehoudart/app-manager/VersionZero/src/testUn/classes/testUn/PorteAppUn.class
    [convert] converting testUn.PorteAppUn
    [*convert] error: class PorteAppUn does not belong to package testUn.classes.testUn.*
    [convert] conversion completed with 1 errors and 0 warnings.
    I do not understand why this unique applet class file does not belong to its own package. Is someone an idea?
    Thanks very much in advance for your answer.

    Here is a complete example build.xml (I think I have posted this before).
    <?xml version="1.0" encoding="UTF-8" ?>
    <project default="convert" name="javacard-starter">
      <!-- Build specific properties -->
      <property name="target.classes" location="${basedir}/target/classes" />
      <property name="target.javacard" location="${basedir}/target/javacard" />
      <property name="source.java" location="${basedir}/src/main/java" />
      <!-- Must point to the folder containing the JAR files from the JCDK -->
      <property name="javacard.libs" location="${basedir}/lib" />
      <!-- Must point to the folder containing the JAR file from the JCDK ant task -->
      <property name="javacard.ant-task" location="${basedir}/lib" />
      <!-- Must point to the folder containing the API export files from the JCDK -->
      <property name="javacard.export" location="${basedir}/src/main/export" />
      <property name="verbose" value="true" />
      <property name="noverify" value="false" />
      <!-- Path for JC tasks -->
      <path id="classpath">
        <fileset dir="${javacard.ant-task}">
          <include name="*.jar" />
        </fileset>
        <fileset dir="${javacard.libs}">
          <include name="*.jar" />
        </fileset>
      </path>
      <!-- set the export path to the Java Card export files -->
      <path id="export" description="set the export file path">
        <fileset dir="${javacard.export}">
          <include name="**/*.exp" />
        </fileset>
        <pathelement path="${javacard.export}" />
        <pathelement path="${target.classes}" />
        <pathelement path="${target.javacard}" />
      </path>
      <!-- Definitions for tasks for Java Card tools -->
      <taskdef name="capgen" classname="com.sun.javacard.ant.tasks.CapgenTask" classpathref="classpath" />
      <taskdef name="deploycap" classname="com.sun.javacard.ant.tasks.DeployCapTask" classpathref="classpath" />
      <taskdef name="convert" classname="com.sun.javacard.ant.tasks.ConverterTask" classpathref="classpath" />
      <taskdef name="verifyexport" classname="com.sun.javacard.ant.tasks.VerifyExpTask" classpathref="classpath" />
      <taskdef name="verifycap" classname="com.sun.javacard.ant.tasks.VerifyCapTask" classpathref="classpath" />
      <taskdef name="verifyrevision" classname="com.sun.javacard.ant.tasks.VerifyRevTask" classpathref="classpath" />
      <typedef name="appletnameaid" classname="com.sun.javacard.ant.types.AppletNameAID" classpathref="classpath" />
      <typedef name="jcainputfile" classname="com.sun.javacard.ant.types.JCAInputFile" classpathref="classpath" />
      <target name="init">
        <mkdir dir="${target.classes}" />
        <mkdir dir="${target.javacard}" />
      </target>
      <target name="clean">
        <delete dir="${target.classes}" />
        <delete dir="${target.javacard}" />
        <delete dir="${javacard.eeprom}" />
      </target>
      <target name="compile" depends="init" description="Compile source code to class files">
        <!-- Compile the java code from ${src} to ${classes} -->
        <javac debug="yes" optimize="no" srcdir="${source.java}" destdir="${target.classes}" source="1.5" target="1.5">
          <classpath refid="classpath" />
        </javac>
      </target>
      <target name="convert" depends="compile" description="Convert class files to cap files">
              <convert packagename="chaining" packageaid="0xF0:0x00:0x00:0x01:0x00:0x01" majorminorversion="1.0" classdir="${target.classes}" outputdirectory="${target.classes}" jca="true" exp="true" cap="true" debug="true" verbose="${verbose}" noverify="${noverify}">
                   <appletnameaid aid="0xF0:0x00:0x00:0x01:0x00:0x01:0x00:0x01" appletname="chaining.ChainingApplet" />
                   <exportpath refid="export" />
                   <classpath refid="classpath" />
              </convert>
      </target>
      <target name="copy-debug">
        <mkdir dir="${target.debug}" />
        <echo>Copying cap files</echo>
        <copy flatten="true" todir="${target.debug}" verbose="true">
          <fileset dir="${target.classes}" includes="**/*.cap" />
          <fileset dir="${target.classes}" includes="**/*.exp" />
          <fileset dir="${target.classes}" includes="**/*.jca" />
        </copy>
      </target>
      <target name="all" depends="clean, convert" />
    </project>

  • New iMac with Retina display has attracted a group of ants. Why?

    New iMac with Retina Display has attracted a group of ants to nest in it, while they ignore my old Macbook Pro. What is in the new laptop that attracts the ants? The Apple Support set me up with an appointment at an Apple Store and the Apple Store says it is Apple policy not to touch it with the Ants in it. Wasted 2.5 hours in travel time and in the store with no solution.

    Its the electrical charges that attract them, they sense them as other critters to eat / talk with 
    the swarm of tiny DC power fields inside a computer, and the charges across the screen attract insects that have EM sensors on their exoskeletons. Its a come hither spotlight for insect critters.
    http://answers.yahoo.com/question/index?qid=20070523002354AA340iK
    If you want them out, which of course you do.......make a sugar trap for them.... a trail from the computer to a little pile.  One screams the treasure to the others, .....they all come running, then you brush them away, or some other insidious method. 
    See this one:
    http://www.sfgate.com/technology/businessinsider/article/Crazy-Ants-That-Eat-Ele ctrical-Equipment-Are-4533102.php

  • ANT tools and java card

    Hi,
    I used the ant tools going with the java card development kit 2.2 and I have the following errors when I run the build.xml
    testinit:
    [apdutool] Java Card Ant Tasks, Version 1.0
    [apdutool] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [apdutool] Note: Usage of Java Card Ant Tasks is optional. Java Card Ant Tasks are not supported by Sun Microsystems, Inc.
    [apdutool] Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/javacard/apdutool/Main
    If you have ever had this error, can you help me please to solve it?
    Thanks in advance.

    Hi,
    You are missing a JAR file. Check to make sure you have your classpath setup in your build file with the required libraries.
    Cheers,
    Shane

  • Ant tools: converter java card

    Hi,
    I have already a problem with the ant tools for java card.
    I build a build.xml file which has for aim to generate the CAP,EXP, JCA and the *.script files before downloading them on cref.
    I have a problem with the command converter. Here you can find my code:
    <!--generation of the JCA,EXP and CAP file-->
              <echo message = "Generation of the CAP,JCA and EXP files..."     />
              <convert
                   JCA="true"
                   EXP="true"
                   CAP="true"
                   packagename="versionZero"
                   packageaid="0xB0:0x02:0x03:0x04:0x05:0x06:0x07:0x08:0x09:0x00"
                   majorminorversion="1.0"
                   verbose = "true">               
                   <AppletNameAID
                        appletname="versionZero.VersionZero"
                        aid="0xB0:0x02:0x03:0x04:0x05:0x06:0x07:0x08:0x09:0x00:0x00"/>
                   <classpath refid="classpath"/>
              </convert>
         My problem is the following: the command converter say mys package is empty and it is not the case: it contains all the *.java file.
    Must I compile the files with javac before using the convert command or it is another problem?
    Here is the trace of my build.xml file:
    Buildfile: /home/ehoudart/app-manager/VersionZero/src/build.xml
    testinit:
    [echo] Deleting the old generated files...
    [echo] Generation of the CAP,JCA and EXP files...
    [convert] Java Card Ant Tasks, Version 1.0
    [convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [convert] Note: Usage of Java Card Ant Tasks is optional. Java Card Ant Tasks are not supported by Sun Microsystems, Inc.
    [convert] Java Card 2.2.2 Class File Converter, Version 1.3
    [convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [convert] error: versionZero: empty package.
    [convert] conversion completed with 1 errors and 0 warnings.
    BUILD FAILED
    /home/ehoudart/app-manager/VersionZero/src/build.xml:115: Conversion failed
    Total time: 384 milliseconds
    Thanks in advance for your answer.

    Hi,
    Please use &#123;code} tags for posting code etc.
    <!--generation of the JCA,EXP and CAP file-->
              <echo message = "Generation of the CAP,JCA and EXP files..."     />
              <convert
                   JCA="true"
                   EXP="true"
                   CAP="true"
                   packagename="versionZero"
                   packageaid="0xB0:0x02:0x03:0x04:0x05:0x06:0x07:0x08:0x09:0x00"
                   majorminorversion="1.0"
                   verbose = "true">               
                   <AppletNameAID
                        appletname="versionZero.VersionZero"
                        aid="0xB0:0x02:0x03:0x04:0x05:0x06:0x07:0x08:0x09:0x00:0x00"/>
                   <classpath refid="classpath"/>
              </convert>
         My problem is the following: the command converter say mys package is empty and it is not the case: it contains all the *.java file.
    Must I compile the files with javac before using the convert command or it is another problem?That is correct. You can make your convert task depend on a compile task for this.
    Cheers,
    Shane

  • Problems with Signed jar

    I am having a problem with signed jar and deploy in html
    get this error on the page
    self signed
    /dist/testfx.html
    JavaFX application could not launch due to system configuration. See java.com/javafx for troubleshooting information.Unsigned jar works perfectly but has security and permission issues when using classes.
    This was working in beta 45

    Can you post an example project that demonstrates the problem? There were changes to the ant tasks and netbeans support around B45 that could cause problems depending on which version of the SDK and NetBeans you have. Similarly, if you wrote ant scripts prior to B44 and then use them with a later build you could have problems. And of course, if you're producing the Jar file and deployment artifacts without using the provided ant tasks (for example, using the normal ant jar task) you'll have problems.
    I've verified that this works as expected in the FX 2.0 GA release using ant from the command line, and with the NetBeans 7.1 beta release using the FX 2.0 GA release.

  • Package name ending with .java

    Hi,
    I have some trouble with a package name ending with "fragments.java". When I use 'packagenames' javadoc complains when it reaches that package.
    I'm guessing javadoc thinks it's a source file and tries to parse it as such.
    I have found a workaround by using 'subpackages' instead of 'packagenames' but I want it work with ant, which doesn't support the subpackages flag.
    Is there a way to get around this?
    - Henrik

    Not at all.
    Assume that there is a package called something.smthing.java
    Then this won't work:
    <javadoc sourcepath="${src_dir}" destdir="${doc_dir}"
    packagenames="something.*"/>
    It will give the following error message because it thinks it is a source file:
    [javadoc] Loading source file something.smthing.java...
    [javadoc] error: cannot read: something.smthing.java
    So, you can get around that by doing like this instead:
    <javadoc sourcepath="${src_dir}" destdir="${doc_dir}"
    packagenames="something"
    additionalparam="-subpackages something"/>
    Which gives the -subpackages option to javadoc.

  • Deployment tool

    Could someone through light about best deployment tool and approach for Oracle webcenter portal and Oracle ADF applications?

    In my opinion ojdeploy is quite good in combination with other tools.
    We always try to use ANT because it has support for weblogic which means you can deploy MAR files and execute WLST scripts during deployment.
    By using ANT you can also have daily, weekly builds and so on.
    The only problem with ojdeploy is that it requires JDeveloper to run it which means that if you have a dedicated build machine that is not intended for development, you still need to install JDev because ojdeploy requires it.
    I have seen people using Maven with WebCenter howver it is very difficult and long process to get it up and running. There is no integration or public repository for WebCenter which means that if you want to use Maven, you will need to create your own library dependencies which is a huge list for WebCenter and ADF.
    We did a comparison and we noticed that ANT is better than Maven because it would require less work to make it a stable build platform.

  • [svn:fx-trunk] 11179: * Weekly batch of compiler fixes.

    Revision: 11179
    Author:   [email protected]
    Date:     2009-10-27 08:05:06 -0700 (Tue, 27 Oct 2009)
    Log Message:
    Weekly batch of compiler fixes.
    QE notes:
    Doc notes:
    Bugs: SDK-23111, SDK-23262, SDK-17908, SDK-21737, SDK-23559
    Reviewer: Corey
    Tests run: full cyclone
    Is noteworthy for integration: no
    Code-level description of changes:
      frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as
        Added isExecuting logic to prevent infinite recursion with two way
        bindings.  We have a check in the Bindable generated setter, but
        it fails, because "NaN !== NaN" is returning true.  Go figure.
      modules/swfutils/src/java/flash/util/StringUtils.java
        Tweaked formatString() to handle unicode characters and added
        unformatString() to do the opposite for direct AST generation.
      modules/compiler/src/java/flex2/compiler/Source.java
        Added shortName arg to the constructor used by the
        InterfaceCompiler for inline components.
      modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
        Modified completeTwoWayBindings() to ensure the destination is
        Bindable.
      modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.java
        Modified "Node formatExpr()" to use StringUtils.unformatString()
        to mimic what ASC's scanner would have done if it had read in the
        value.
      modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
        Modified addExcludeClassNode() to no longer set the line and
        column for the inlineExcludeNode and excludeTextNode, so they
        don't have warnings and errors reported for them.  I guess no one
        compiles the frameworks with -keep.  Otherwise, this would have
        blocked them.
        Modified createInlineComponentUnit() and createDefinitionUnit() to
        pass in the className, as the shortName, to the Source
        constructor.
      modules/antTasks/src/flex/ant/MxmlcTask.java
      modules/antTasks/src/flex/ant/CompcTask.java
      modules/antTasks/src/flex/ant/AsDocTask.java
        Added support for show-invalid-css-property-warnings option.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23111
        http://bugs.adobe.com/jira/browse/SDK-23262
        http://bugs.adobe.com/jira/browse/SDK-17908
        http://bugs.adobe.com/jira/browse/SDK-21737
        http://bugs.adobe.com/jira/browse/SDK-23559
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/binding/utils/ChangeWatcher.as
        flex/sdk/trunk/modules/antTasks/src/flex/ant/AsDocTask.java
        flex/sdk/trunk/modules/antTasks/src/flex/ant/CompcTask.java
        flex/sdk/trunk/modules/antTasks/src/flex/ant/MxmlcTask.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/Source.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.ja va
        flex/sdk/trunk/modules/swfutils/src/java/flash/util/StringUtils.java

  • Problems with multiline.jar

    Hello there,
    I have implemented multiline help for text items using multiline.jar provided by oracle.
    I have several pages i.e fmx's, user can traverse to using oracle menus in my application.
    I have multiline.jar for say "Test.fmb" only. Test.fmb has several items, blocks and tabbed pages within itself.
    Sometimes, when i am on textitem1, the help will show up. but even if i move the cursor or go to other fmx's the help doesn't go away. Does anybody have this problem?
    If i close down the application & start again it's fine.
    Please help me.
    Thanks

    Can you post an example project that demonstrates the problem? There were changes to the ant tasks and netbeans support around B45 that could cause problems depending on which version of the SDK and NetBeans you have. Similarly, if you wrote ant scripts prior to B44 and then use them with a later build you could have problems. And of course, if you're producing the Jar file and deployment artifacts without using the provided ant tasks (for example, using the normal ant jar task) you'll have problems.
    I've verified that this works as expected in the FX 2.0 GA release using ant from the command line, and with the NetBeans 7.1 beta release using the FX 2.0 GA release.

  • Generating docs of specific methods only

    Folks i have two questions
    1. I have a project in which the directory structure is as follows
    src/mpi
    src/mpjdev
    src/runtime
    src/mpjbuf
    Now i want to generate the javadocs of src/mpi only. How can we do it? What if i want that i want to exlude some files from the src/mpi package. Please provide some snippets
    2. Now after generating the "selected" javadocs of src/mpi, i want to go one step further. There are many methods in the class of which i donot want the javadocs to be generated. Same applies for many fields. What can i do in the source files so that the javadocs of only those methods should get generated which i want and not of all the methods and fields....
    Can any one help?

    First off, I want to mention that the [Javadoc Tool Homepage|http://java.sun.com/j2se/javadoc/] is a very good place to read up on Javadoc features and configuration.
    KamranHameed wrote:
    Folks i have two questions
    1. I have a project in which the directory structure is as follows
    src/mpi
    src/mpjdev
    src/runtime
    src/mpjbuf
    Now i want to generate the javadocs of src/mpi only. How can we do it? What if i want that i want to exlude some files from the src/mpi package. Please provide some snippetsWell, basically javadoc supports explicitly specifying source files that should be documented. E.g. if there a three source filessrc/mpi/A.java
    src/mpi/B.java
    src/mpi/C.javaand you only want to document A and B you could invoke javadoc from the command line the following wayjavadoc -d doc/api src/mpi/A.java src/mpi/B.java(with -d doc/api specifying the destination of the generated documentation files). Of course, this approach is quite unwieldly as the number of files in a project grows. Fortunately, there are many build tools that provide a more convenient way to specify "filesets". E.g. ANT's Javadoc task supports an inclusion/exclusion mechanism for source files:<target name="javadoc-sample>
      <javadoc destdir="doc/api">
        <fileset dir="src" defaultexcludes="yes">
          <include name="mpi/**/*.java"/>
          <exclude name="**/C.java"/>
        </fileset>
      </javadoc>
    </target>For more information on ANT see [http://ant.apache.org/].
    {quote:title=KamranHameed wrote:}{quote}
    2. Now after generating the "selected" javadocs of src/mpi, i want to go one step further. There are many methods in the class of which i donot want the javadocs to be generated. Same applies for many fields. What can i do in the source files so that the javadocs of only those methods should get generated which i want and not of all the methods and fields....Javadoc supports filtering members by visibility using options -public, -protected, -package, -private (defaulting to -protected). For information on these options see [http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html#javadocoptions]. If you need to filter members on some other criteria (e.g. never display methods whose name starts with "test" regardless of visibility), then you will have to use some other tool. yWorks' yDoc, for example, is a commercial Javadoc extension that allows users to exclude members from documentation by adding a special Javadoc tag to the corresponding documentation comment but also allows for sophisticated custom filtering.
    {quote:title=KamranHameed wrote:}{quote}
    Can any one help?Well, I hope I did that just now. ;-)

Maybe you are looking for

  • Oracle Application Server 10.1.3.5 and SSL

    Hi, We want to use SSL in combination with Oracle Application Server 10.1.3.5. I installed Oracle Application Server 10.1.3.5 on Windows 2008R2 64 bit. After that I installed 64 bit java(jdk-6-26-windows-x64.exe) to run jvm in 64bit. I'm facing the f

  • Keeping A Watermark in iDVD?

    Hi All, I'm having an odd problem that I hope someone can help out with.  I'm in the process of creating DVD screener copies of a film I made, and as per the advice of our lawyers, we have 'watermarked' the file before we send it out to distributors

  • Image manipulating

    hi, this is my problem: i would like to be able read an image-file from the disk and i would like to scale it depending on it's size... if it's to big i would like to make it smaller.. :) if it's possible it would be good to be able to scale the imag

  • Small hairline crack near screen hinge. Fix?

    I just noticed that my 2010 white Macbook has a 3/4" hairline crack on the outter part of the screen/lid right by the hinge. It's not really affecting how the computer functions or anything. But it really bothers me. My warranty runs out on Jan 20th

  • Nokia N8 water damage?

    I have recently sent phone off to nokia as it lost power and would not come back on . To have it returned saying it is due to water damage. I have been told by salesman at carphone wharehouse that any use of phone in damp or wet conditions can cause