ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » message broker toolkit v6.0.2 refresh using ant

Post new topic  Reply to topic
 message broker toolkit v6.0.2 refresh using ant « View previous topic :: View next topic » 
Author Message
ganesh
PostPosted: Sat Oct 30, 2010 9:44 am    Post subject: message broker toolkit v6.0.2 refresh using ant Reply with quote

Master

Joined: 18 Jul 2010
Posts: 294

Has anyone been successful in refreshing the toolkit using headless build? I tried to use the headless build but with no success.


Code:

<?xml version="1.0" encoding="UTF-8"?>
<project name ="refresh" default="test">
<antTask name="eclipse.refreshLocal" class="org.eclipse.core.resources.ant.RefreshLocalTask" library="ant_tasks/resources-ant.jar" />
<target name="test">
<eclipse.refreshLocal resource="C:\*******"
depth
="infinite"/>
</target>
</project>


error message i get

Quote:


C:\apache-ant-1.7.0\bin>ant -f refresh.xml -v
Apache Ant version 1.7.0 compiled on December 13 2006
Buildfile: refresh.xml
Detected Java version: 1.6 in: C:\Program Files\Java\jre6
Detected OS: Windows XP
parsing buildfile C:\apache-ant-1.7.0\bin\refresh.xml with URI = file:/C:/apache
-ant-1.7.0/bin/refresh.xml
Project base dir set to: C:\apache-ant-1.7.0\bin
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apach
e/tools/ant/antlib.xml. It could not be found.
BUILD FAILED
C:\apache-ant-1.7.0\bin\refresh.xml:3: Problem: failed to create task or type an
tTask
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.
at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownEleme
nt.java:481)
at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:41
3)
at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.jav
a:160)
at org.apache.tools.ant.Task.perform(Task.java:347)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
140)
at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:96)
at org.apache.tools.ant.Main.runBuild(Main.java:683)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Total time: 0 seconds
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Oct 30, 2010 1:01 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

You need to resolve this first:
Quote:
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
BUILD FAILED

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ganesh
PostPosted: Sat Oct 30, 2010 2:42 pm    Post subject: Reply with quote

Master

Joined: 18 Jul 2010
Posts: 294

I open the ant.jar file and i see that it has org folder and inside that it has the antlib.xml file. The atlib.xml file does not have typedef declared for eclipse.refreshLocal. Would that be the cause for error?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Oct 31, 2010 2:44 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Review the documentation. XML files do not go where you expect them to.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » message broker toolkit v6.0.2 refresh using ant
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.