Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant javac task error with Rational application developement studio 7

 
anthriksh ed
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic