*
The moose likes IDEs, Version Control and other tools and the fly likes Ant javac task error with Rational application developement studio 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Ant javac task error with Rational application developement studio 7" Watch "Ant javac task error with Rational application developement studio 7" New topic
Author

Ant javac task error with Rational application developement studio 7

anthriksh ed
Greenhorn

Joined: Mar 05, 2009
Posts: 1
hi,

i am preety new user of the RAD 7 studio which i am using to build the java code with combinatuon of the ANT.

here is my build.xml file which i m trying to compile useing the build in ANT support in the RAD 7

<?xml version="1.0"?>

<project name="Automation Project" default="compile" basedir=".">

<property name="src" location="D:\scm\Java\QA\go073"/>
<property name="build" location="D:\scm\Java\QA\workspace\073\Go\build"/>
<mkdir dir="${build}"/>


<target name="compile" description="Initialize automation environment">

<javac srcdir="${src}" destdir="${build}"/>
</target>


</project>




also i ahve given the coomand line argument to ant as --

-verbose -Dbuild.compiler=org.eclipse.pde.internal.core.JDTCompilerAdapter

but it is not giving me any build fail or susscees error and it is skipping al the java files with messges as below

[javac] workstation\WebContent\trust\PortfolioRealizedGainLossSummaryList\PortfolioRealizedGainLossSummaryListActionListSampleSite.xml skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipDetail\PortfolioRelationshipDetail.css skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipDetail\PortfolioRelationshipDetail.html skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipDetail\PortfolioRelationshipDetail.jsp skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipDetail\PortfolioRelationshipDetail.xml skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipDetail\PortfolioRelationshipDetailActionList.xmi skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipDetail\PortfolioRelationshipDetailActionList.xml skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipDetail\PortfolioRelationshipDetailActionListSampleSite.xml skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipSummaryList\PortfolioRelationshipSummaryList.css skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipSummaryList\PortfolioRelationshipSummaryList.html skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipSummaryList\PortfolioRelationshipSummaryList.jsp skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipSummaryList\PortfolioRelationshipSummaryList.xml skipped - don't know how to handle it


please someone guide me what i am missing hre to run successful javax task in ant ?

RegARDS
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
I don't see any java files skipped, just css, html, jsp, xml, xmi, ...
anthriksh ed wrote:
[javac] workstation\WebContent\trust\PortfolioRealizedGainLossSummaryList\PortfolioRealizedGainLossSummaryListActionListSampleSite.xml skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipDetail\PortfolioRelationshipDetail.css skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipDetail\PortfolioRelationshipDetail.html skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipDetail\PortfolioRelationshipDetail.jsp skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipDetail\PortfolioRelationshipDetail.xml skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipDetail\PortfolioRelationshipDetailActionList.xmi skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipDetail\PortfolioRelationshipDetailActionList.xml skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipDetail\PortfolioRelationshipDetailActionListSampleSite.xml skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipSummaryList\PortfolioRelationshipSummaryList.css skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipSummaryList\PortfolioRelationshipSummaryList.html skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipSummaryList\PortfolioRelationshipSummaryList.jsp skipped - don't know how to handle it
[javac] workstation\WebContent\trust\PortfolioRelationshipSummaryList\PortfolioRelationshipSummaryList.xml skipped - don't know how to handle it


Isn't your source in a 'src' or 'source' directory separate from everything else? Looks like your javac is pointing at the whole world. To at least clean up the errors you could use an include to specify the java files



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ant javac task error with Rational application developement studio 7
 
Similar Threads
Eclips error
ANT file
wsjspc ant task
i am looking for Ant scripts help
ANT help required