How do I use Jazz tasks with org.eclipse.ant.core.antRunner?
Hi all,
I am trying to build my first plug-in using the Jazz build system and
tasks but I cannot get the PDE build to recognize the Jazz ant tasks.
From debugging, I can see the message below:
!ENTRY org.eclipse.ant.core 4 3 2007-06-05 12:11:29.562
!MESSAGE The library "ant_tasks/build-ant.jar" specified from
"com.ibm.team.build.toolkit" for the antTasks or antTypes extension does
not exist
It seems that the com.ibm.team.build.toolkit jar's plugin.xml specifies
some extra classpath about an ant_tasks/build-ant.jar, but I cannot
actually find this jar anywhere. If I invoke a request a regular ant
build the Jazz tasks do resolve and run properly, however, if I go that
route that classpath does not have PDE tasks so I can't build my plug-in.
I hope I have made my problem clear and that someone can assist me with
this. I mean, surely someone else must have built plug-ins using the
Jazz task with PDE build. Heck, I'd bet that's how Jazz itself is built. ;)
Thanks.
Regards,
Rem
I am trying to build my first plug-in using the Jazz build system and
tasks but I cannot get the PDE build to recognize the Jazz ant tasks.
From debugging, I can see the message below:
!ENTRY org.eclipse.ant.core 4 3 2007-06-05 12:11:29.562
!MESSAGE The library "ant_tasks/build-ant.jar" specified from
"com.ibm.team.build.toolkit" for the antTasks or antTypes extension does
not exist
It seems that the com.ibm.team.build.toolkit jar's plugin.xml specifies
some extra classpath about an ant_tasks/build-ant.jar, but I cannot
actually find this jar anywhere. If I invoke a request a regular ant
build the Jazz tasks do resolve and run properly, however, if I go that
route that classpath does not have PDE tasks so I can't build my plug-in.
I hope I have made my problem clear and that someone can assist me with
this. I mean, surely someone else must have built plug-ins using the
Jazz task with PDE build. Heck, I'd bet that's how Jazz itself is built. ;)
Thanks.
Regards,
Rem
7 answers
Remy,
It sounds like you've tried to deploy the com.ibm.team.build.toolkit jar
inside the client plugins directory for TeamConcert. Is that true? If
so...the build toolkit is not intended to be installed in IDE...that's why
it's not already included in there and why you are receiving the error you
are seeing. We've debated including it(see 18563) but currently it's not
supported. We do use ant and PDE build to build Jazz but we don't use
AntRunner to invoke the ant script...just straight ant.
Thanks,
D.
"Remy Chi Jian Suen" <remsuen@ca.ibm.com> wrote in message
news:f441q6$5fb$1@localhost.localdomain...
It sounds like you've tried to deploy the com.ibm.team.build.toolkit jar
inside the client plugins directory for TeamConcert. Is that true? If
so...the build toolkit is not intended to be installed in IDE...that's why
it's not already included in there and why you are receiving the error you
are seeing. We've debated including it(see 18563) but currently it's not
supported. We do use ant and PDE build to build Jazz but we don't use
AntRunner to invoke the ant script...just straight ant.
Thanks,
D.
"Remy Chi Jian Suen" <remsuen@ca.ibm.com> wrote in message
news:f441q6$5fb$1@localhost.localdomain...
Hi all,
I am trying to build my first plug-in using the Jazz build system and
tasks but I cannot get the PDE build to recognize the Jazz ant tasks. From
debugging, I can see the message below:
!ENTRY org.eclipse.ant.core 4 3 2007-06-05 12:11:29.562
!MESSAGE The library "ant_tasks/build-ant.jar" specified from
"com.ibm.team.build.toolkit" for the antTasks or antTypes extension does
not exist
It seems that the com.ibm.team.build.toolkit jar's plugin.xml specifies
some extra classpath about an ant_tasks/build-ant.jar, but I cannot
actually find this jar anywhere. If I invoke a request a regular ant build
the Jazz tasks do resolve and run properly, however, if I go that route
that classpath does not have PDE tasks so I can't build my plug-in.
I hope I have made my problem clear and that someone can assist me with
this. I mean, surely someone else must have built plug-ins using the Jazz
task with PDE build. Heck, I'd bet that's how Jazz itself is built. ;)
Thanks.
Regards,
Rem
Hi Donald,
Thanks for the information, yes, that's what I was trying to do.
I was told by a coworker that not using AntRunner/PDEBuild is
tough/unwise (from his past experiences of building plug-ins), but I
guess TeamConcert is doing things differently.
Is there a sample snippet of an Ant file that has the PDE and Jazz tasks
configured properly anywhere that I can paste into my build file?
Thanks.
Regards,
Rem
Donald Weinand wrote:
Thanks for the information, yes, that's what I was trying to do.
I was told by a coworker that not using AntRunner/PDEBuild is
tough/unwise (from his past experiences of building plug-ins), but I
guess TeamConcert is doing things differently.
Is there a sample snippet of an Ant file that has the PDE and Jazz tasks
configured properly anywhere that I can paste into my build file?
Thanks.
Regards,
Rem
Donald Weinand wrote:
Remy,
It sounds like you've tried to deploy the com.ibm.team.build.toolkit jar
inside the client plugins directory for TeamConcert. Is that true? If
so...the build toolkit is not intended to be installed in IDE...that's why
it's not already included in there and why you are receiving the error you
are seeing. We've debated including it(see 18563) but currently it's not
supported. We do use ant and PDE build to build Jazz but we don't use
AntRunner to invoke the ant script...just straight ant.
Thanks,
D.
"Remy Chi Jian Suen" <remsuen@ca.ibm.com> wrote in message
news:f441q6$5fb$1@localhost.localdomain...
Hi all,
I am trying to build my first plug-in using the Jazz build system and
tasks but I cannot get the PDE build to recognize the Jazz ant tasks. From
debugging, I can see the message below:
!ENTRY org.eclipse.ant.core 4 3 2007-06-05 12:11:29.562
!MESSAGE The library "ant_tasks/build-ant.jar" specified from
"com.ibm.team.build.toolkit" for the antTasks or antTypes extension does
not exist
It seems that the com.ibm.team.build.toolkit jar's plugin.xml specifies
some extra classpath about an ant_tasks/build-ant.jar, but I cannot
actually find this jar anywhere. If I invoke a request a regular ant build
the Jazz tasks do resolve and run properly, however, if I go that route
that classpath does not have PDE tasks so I can't build my plug-in.
I hope I have made my problem clear and that someone can assist me with
this. I mean, surely someone else must have built plug-ins using the Jazz
task with PDE build. Heck, I'd bet that's how Jazz itself is built. ;)
Thanks.
Regards,
Rem
I referred to the wrong defect related to including the toolkit plugin in
the client. It's 18559. 18563 is just a related issue.
Thanks,
D.
"Donald Weinand" <dmweinan@us.ibm.com> wrote in message
news:f44b3q$9im$1@localhost.localdomain...
the client. It's 18559. 18563 is just a related issue.
Thanks,
D.
"Donald Weinand" <dmweinan@us.ibm.com> wrote in message
news:f44b3q$9im$1@localhost.localdomain...
Remy,
It sounds like you've tried to deploy the com.ibm.team.build.toolkit jar
inside the client plugins directory for TeamConcert. Is that true? If
so...the build toolkit is not intended to be installed in IDE...that's why
it's not already included in there and why you are receiving the error you
are seeing. We've debated including it(see 18563) but currently it's not
supported. We do use ant and PDE build to build Jazz but we don't use
AntRunner to invoke the ant script...just straight ant.
Thanks,
D.
"Remy Chi Jian Suen" <remsuen@ca.ibm.com> wrote in message
news:f441q6$5fb$1@localhost.localdomain...
Hi all,
I am trying to build my first plug-in using the Jazz build system and
tasks but I cannot get the PDE build to recognize the Jazz ant tasks.
From debugging, I can see the message below:
!ENTRY org.eclipse.ant.core 4 3 2007-06-05 12:11:29.562
!MESSAGE The library "ant_tasks/build-ant.jar" specified from
"com.ibm.team.build.toolkit" for the antTasks or antTypes extension does
not exist
It seems that the com.ibm.team.build.toolkit jar's plugin.xml specifies
some extra classpath about an ant_tasks/build-ant.jar, but I cannot
actually find this jar anywhere. If I invoke a request a regular ant
build the Jazz tasks do resolve and run properly, however, if I go that
route that classpath does not have PDE tasks so I can't build my plug-in.
I hope I have made my problem clear and that someone can assist me with
this. I mean, surely someone else must have built plug-ins using the Jazz
task with PDE build. Heck, I'd bet that's how Jazz itself is built. ;)
Thanks.
Regards,
Rem
Well, the reverse of this of putting PDE Build-related jars one by one
into the \tc\buildsystem\buildtoolkit\ folder doesn't seem to fly since
the export task seems to call something within PDE's internal activator
class with a getDefault() and that returns a null since it's not being
activated (as this is straight ant and not in an OSGi context). :/
Can anyone provide any tips and hints?
Thank you very much.
Regards,
Rem
into the \tc\buildsystem\buildtoolkit\ folder doesn't seem to fly since
the export task seems to call something within PDE's internal activator
class with a getDefault() and that returns a null since it's not being
activated (as this is straight ant and not in an OSGi context). :/
Can anyone provide any tips and hints?
Thank you very much.
Regards,
Rem
Just to clarify a little further...we do use AntRunner to invoke the actual
build of the plugins...it's just not driving the entire build. AntRunner is
invoked within the outer ant build to compile the plugins and put the output
in a specified location. The outer ant build then uses the Jazz ant tasks
to publish to the repository the output created by PDEBuild . We'll try to
create a simple working example for you.
Thanks,
Don
"Remy Chi Jian Suen" <remsuen@ca.ibm.com> wrote in message
news:f44dai$aaf$1@localhost.localdomain...
build of the plugins...it's just not driving the entire build. AntRunner is
invoked within the outer ant build to compile the plugins and put the output
in a specified location. The outer ant build then uses the Jazz ant tasks
to publish to the repository the output created by PDEBuild . We'll try to
create a simple working example for you.
Thanks,
Don
"Remy Chi Jian Suen" <remsuen@ca.ibm.com> wrote in message
news:f44dai$aaf$1@localhost.localdomain...
Hi Donald,
Thanks for the information, yes, that's what I was trying to do.
I was told by a coworker that not using AntRunner/PDEBuild is tough/unwise
(from his past experiences of building plug-ins), but I guess TeamConcert
is doing things differently.
Is there a sample snippet of an Ant file that has the PDE and Jazz tasks
configured properly anywhere that I can paste into my build file?
Thanks.
Regards,
Rem
Donald Weinand wrote:
Remy,
It sounds like you've tried to deploy the com.ibm.team.build.toolkit jar
inside the client plugins directory for TeamConcert. Is that true? If
so...the build toolkit is not intended to be installed in IDE...that's
why it's not already included in there and why you are receiving the
error you are seeing. We've debated including it(see 18563) but
currently it's not supported. We do use ant and PDE build to build Jazz
but we don't use AntRunner to invoke the ant script...just straight ant.
Thanks,
D.
"Remy Chi Jian Suen" <remsuen@ca.ibm.com> wrote in message
news:f441q6$5fb$1@localhost.localdomain...
Hi all,
I am trying to build my first plug-in using the Jazz build system and
tasks but I cannot get the PDE build to recognize the Jazz ant tasks.
From debugging, I can see the message below:
!ENTRY org.eclipse.ant.core 4 3 2007-06-05 12:11:29.562
!MESSAGE The library "ant_tasks/build-ant.jar" specified from
"com.ibm.team.build.toolkit" for the antTasks or antTypes extension does
not exist
It seems that the com.ibm.team.build.toolkit jar's plugin.xml specifies
some extra classpath about an ant_tasks/build-ant.jar, but I cannot
actually find this jar anywhere. If I invoke a request a regular ant
build the Jazz tasks do resolve and run properly, however, if I go that
route that classpath does not have PDE tasks so I can't build my
plug-in.
I hope I have made my problem clear and that someone can assist me with
this. I mean, surely someone else must have built plug-ins using the
Jazz task with PDE build. Heck, I'd bet that's how Jazz itself is built.
;)
Thanks.
Regards,
Rem
Thanks for the snippet, Donald. PDE build is rather confusing and I've
been fighting it for a while and have not been able to get it working.
I'm manually generating build scripts from within PDE instead of having
them generated on the fly at the moment.
Please do let me know when there is a working example. Thank you very much!
Regards,
Rem
Donald Weinand wrote:
been fighting it for a while and have not been able to get it working.
I'm manually generating build scripts from within PDE instead of having
them generated on the fly at the moment.
Please do let me know when there is a working example. Thank you very much!
Regards,
Rem
Donald Weinand wrote:
Here's a little ant snippet that may help you until we get a chance to
create a working example for you.
Thanks,
D.
"Donald Weinand" <dmweinan@us.ibm.com> wrote in message
news:f47bfh$i7k$1@localhost.localdomain...
Just to clarify a little further...we do use AntRunner to invoke the
actual
build of the plugins...it's just not driving the entire build. AntRunner
is
invoked within the outer ant build to compile the plugins and put the
output
in a specified location. The outer ant build then uses the Jazz ant tasks
to publish to the repository the output created by PDEBuild . We'll try
to
create a simple working example for you.
Thanks,
Don
"Remy Chi Jian Suen" <remsuen@ca.ibm.com> wrote in message
news:f44dai$aaf$1@localhost.localdomain...
Hi Donald,
Thanks for the information, yes, that's what I was trying to do.
I was told by a coworker that not using AntRunner/PDEBuild is
tough/unwise
(from his past experiences of building plug-ins), but I guess TeamConcert
is doing things differently.
Is there a sample snippet of an Ant file that has the PDE and Jazz tasks
configured properly anywhere that I can paste into my build file?
Thanks.
Regards,
Rem
Donald Weinand wrote:
Remy,
It sounds like you've tried to deploy the com.ibm.team.build.toolkit jar
inside the client plugins directory for TeamConcert. Is that true? If
so...the build toolkit is not intended to be installed in IDE...that's
why it's not already included in there and why you are receiving the
error you are seeing. We've debated including it(see 18563) but
currently it's not supported. We do use ant and PDE build to build Jazz
but we don't use AntRunner to invoke the ant script...just straight ant.
Thanks,
D.
"Remy Chi Jian Suen" <remsuen@ca.ibm.com> wrote in message
news:f441q6$5fb$1@localhost.localdomain...
Hi all,
I am trying to build my first plug-in using the Jazz build system and
tasks but I cannot get the PDE build to recognize the Jazz ant tasks.
From debugging, I can see the message below:
!ENTRY org.eclipse.ant.core 4 3 2007-06-05 12:11:29.562
!MESSAGE The library "ant_tasks/build-ant.jar" specified from
"com.ibm.team.build.toolkit" for the antTasks or antTypes extension
does
not exist
It seems that the com.ibm.team.build.toolkit jar's plugin.xml specifies
some extra classpath about an ant_tasks/build-ant.jar, but I cannot
actually find this jar anywhere. If I invoke a request a regular ant
build the Jazz tasks do resolve and run properly, however, if I go that
route that classpath does not have PDE tasks so I can't build my
plug-in.
I hope I have made my problem clear and that someone can assist me with
this. I mean, surely someone else must have built plug-ins using the
Jazz task with PDE build. Heck, I'd bet that's how Jazz itself is
built.
;)
Thanks.
Regards,
Rem
Thanks for the snippet, launching AntRunner is basically like
java.exe -jar
jazz/client/eclipse/plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar
-data workspace -application org.eclipse.ant.core.antRunner -file test.xml
Regards,
Sri.
Donald Weinand wrote:
java.exe -jar
jazz/client/eclipse/plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar
-data workspace -application org.eclipse.ant.core.antRunner -file test.xml
Regards,
Sri.
Donald Weinand wrote:
Here's a little ant snippet that may help you until we get a chance to
create a working example for you.
Thanks,
D.
"Donald Weinand" <dmweinan@us.ibm.com> wrote in message
news:f47bfh$i7k$1@localhost.localdomain...
Just to clarify a little further...we do use AntRunner to invoke the
actual
build of the plugins...it's just not driving the entire build. AntRunner
is
invoked within the outer ant build to compile the plugins and put the
output
in a specified location. The outer ant build then uses the Jazz ant tasks
to publish to the repository the output created by PDEBuild . We'll try
to
create a simple working example for you.
Thanks,
Don
"Remy Chi Jian Suen" <remsuen@ca.ibm.com> wrote in message
news:f44dai$aaf$1@localhost.localdomain...
Hi Donald,
Thanks for the information, yes, that's what I was trying to do.
I was told by a coworker that not using AntRunner/PDEBuild is
tough/unwise
(from his past experiences of building plug-ins), but I guess TeamConcert
is doing things differently.
Is there a sample snippet of an Ant file that has the PDE and Jazz tasks
configured properly anywhere that I can paste into my build file?
Thanks.
Regards,
Rem
Donald Weinand wrote:
Remy,
It sounds like you've tried to deploy the com.ibm.team.build.toolkit jar
inside the client plugins directory for TeamConcert. Is that true? If
so...the build toolkit is not intended to be installed in IDE...that's
why it's not already included in there and why you are receiving the
error you are seeing. We've debated including it(see 18563) but
currently it's not supported. We do use ant and PDE build to build Jazz
but we don't use AntRunner to invoke the ant script...just straight ant.
Thanks,
D.
"Remy Chi Jian Suen" <remsuen@ca.ibm.com> wrote in message
news:f441q6$5fb$1@localhost.localdomain...
Hi all,
I am trying to build my first plug-in using the Jazz build system and
tasks but I cannot get the PDE build to recognize the Jazz ant tasks.
From debugging, I can see the message below:
!ENTRY org.eclipse.ant.core 4 3 2007-06-05 12:11:29.562
!MESSAGE The library "ant_tasks/build-ant.jar" specified from
"com.ibm.team.build.toolkit" for the antTasks or antTypes extension
does
not exist
It seems that the com.ibm.team.build.toolkit jar's plugin.xml specifies
some extra classpath about an ant_tasks/build-ant.jar, but I cannot
actually find this jar anywhere. If I invoke a request a regular ant
build the Jazz tasks do resolve and run properly, however, if I go that
route that classpath does not have PDE tasks so I can't build my
plug-in.
I hope I have made my problem clear and that someone can assist me with
this. I mean, surely someone else must have built plug-ins using the
Jazz task with PDE build. Heck, I'd bet that's how Jazz itself is
built.
;)
Thanks.
Regards,
Rem