You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Adriano Crestani <ad...@apache.org> on 2007/11/07 08:27:43 UTC
Problem with ant on building TuscanyMSVC8DevStudioCCompiler adaptor tool
All 3 native projects have a tool called TuscanyMSVC8DevStudioCCompiler that
is an adaptor that fixes a bug on cpp-tasks.
However, when I try to build it from the source available on tools
directory, I get the following error:
BUILD FAILED
E:\Adriano\cpp\sca\tools\ant_cpptasks\build.xml
:24: The following error occurred while executing this line:
E:\Adriano\cpp\sca\antscripts\system.xml:592: j
ava.lang.ClassNotFoundException:
tuscany.antCompilers.TuscanyMSVC8DevStudioCComp
iler
It occurs because build.xml located on \cpp\<sca or sdo or das>\antscripts\
imports the system.xml that tries to define the compiler using the
TuscanyMSVC8DevStudioCCompiler class:
<compiler id="msvc8-Compiler"
extends="Tuscany-BaseCompiler"
classname="tuscany.antCompilers.TuscanyMSVC8DevStudioCCompiler">
<defineset
define="WIN32,_CRT_SECURE_NO_DEPRECATE,_CRT_NON_CONFORMING_SWPRINTFS"/>
</compiler>
But, the adaptor is not compiled yet when the system.xml tries to define the
compiler.
Is there a way to specify that ant should ignore this errors if the
TuscanyMSVC8DevStudioCCompiler.jar does not exists? I havent found any : (
PS.: To see this bug, all three TuscanyMSVC8DevStudioCCompiler.jar files
located on each project must be deleted.
Adriano Crestani
Re: Problem with ant on building TuscanyMSVC8DevStudioCCompiler adaptor tool
Posted by Adriano Crestani <ad...@apache.org>.
Actually, it doesnt seem to need nothing that is defined on system.xml and
compile-targets.xml. I removed it, but the TuscanyMSVC8DevStudioCCompiler
didnt compile, it output errors about some cpp-tasks classes being missing.
I dont mind bother you with that, so, lets focus on others more important
issues for next native release ; )
Thanks,
Adriano Crestani
On Nov 7, 2007 1:01 PM, Brady Johnson <Br...@roguewave.com> wrote:
>
> Adriano,
>
> I don't have any updates on that ant cc-tasks bug. Unfortunately, they
> don't seem to be in a hurry to fix it.
>
> I hadn't ever considered the issue of the circular dependency, since I
> envisioned the TuscanyMSVC8DevStudioCCompiler jar to be built just once
> and to be checked into svn. I didn't ever consider that it would be
> built on a regular basis. I just looked at the
> tools/ant_cpptasks/build.xml and it would be quite easy to remove the
> dependency on the rest of the Tuscany build system, making it a
> stand-alone build.xml, thus removing the circular dependency. If you
> really think this can cause problems, I'll change the build.xml
>
>
> --------------------
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - brady.johnson@roguewave.com
>
>
> -----Original Message-----
> From: Pete Robbins [mailto:robbinspg@googlemail.com]
> Sent: Wednesday, November 07, 2007 1:10 AM
> To: tuscany-dev@ws.apache.org
> Subject: Re: Problem with ant on building TuscanyMSVC8DevStudioCCompiler
> adaptor tool
>
> Yes, you're right we should fix it. The build for this jar should be v
> simple so probably does not need to include the system.xml etc..
>
> Cheers,
>
> On 07/11/2007, Adriano Crestani <ad...@apache.org> wrote:
> > I understand, but it's wrong, cause there is a circular dependency.
> > But we may left as it is, cause it will probably be deleted soon when
> > the cpp-tasks bug is fixed.
> >
> > Do you have any news about a fix for this bug Brady?
> >
> > Regards,
> > Adriano Crestani
> >
> > On Nov 7, 2007 3:45 AM, Pete Robbins <ro...@googlemail.com> wrote:
> >
> > > The jar files are checked in to svn so should not be deleted I
> guess??
> > > It will be re-built if the java src gets updated.
> > >
> > > Cheers,
> > >
> > > On 07/11/2007, Adriano Crestani <ad...@apache.org> wrote:
> > > > All 3 native projects have a tool called
> > > > TuscanyMSVC8DevStudioCCompiler
> > > that
> > > > is an adaptor that fixes a bug on cpp-tasks.
> > > >
> > > > However, when I try to build it from the source available on tools
>
> > > > directory, I get the following error:
> > > >
> > > > BUILD FAILED
> > > > E:\Adriano\cpp\sca\tools\ant_cpptasks\build.xml
> > > > :24: The following error occurred while executing this line:
> > > > E:\Adriano\cpp\sca\antscripts\system.xml:592: j
> > > > ava.lang.ClassNotFoundException:
> > > > tuscany.antCompilers.TuscanyMSVC8DevStudioCComp
> > > > iler
> > > >
> > > >
> > > > It occurs because build.xml located on \cpp\<sca or sdo or
> > > das>\antscripts\
> > > > imports the system.xml that tries to define the compiler using the
>
> > > > TuscanyMSVC8DevStudioCCompiler class:
> > > >
> > > > <compiler id="msvc8-Compiler"
> > > > extends="Tuscany-BaseCompiler"
> > > > classname="
> > > tuscany.antCompilers.TuscanyMSVC8DevStudioCCompiler">
> > > > <defineset
> > > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,_CRT_NON_CONFORMING_SWPRINT
> > > > FS"/>
> > > > </compiler>
> > > >
> > > >
> > > >
> > > > But, the adaptor is not compiled yet when the system.xml tries to
> > > > define
> > > the
> > > > compiler.
> > > >
> > > > Is there a way to specify that ant should ignore this errors if
> > > > the TuscanyMSVC8DevStudioCCompiler.jar does not exists? I havent
> found any :
> > > (
> > > >
> > > > PS.: To see this bug, all three TuscanyMSVC8DevStudioCCompiler.jar
>
> > > > files located on each project must be deleted.
> > > >
> > > > Adriano Crestani
> > > >
> > >
> > >
> > > --
> > > Pete
> > >
> > > --------------------------------------------------------------------
> > > - To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > >
> > >
> >
>
>
> --
> Pete
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
RE: Problem with ant on building TuscanyMSVC8DevStudioCCompiler adaptor tool
Posted by Brady Johnson <Br...@roguewave.com>.
Adriano,
I don't have any updates on that ant cc-tasks bug. Unfortunately, they
don't seem to be in a hurry to fix it.
I hadn't ever considered the issue of the circular dependency, since I
envisioned the TuscanyMSVC8DevStudioCCompiler jar to be built just once
and to be checked into svn. I didn't ever consider that it would be
built on a regular basis. I just looked at the
tools/ant_cpptasks/build.xml and it would be quite easy to remove the
dependency on the rest of the Tuscany build system, making it a
stand-alone build.xml, thus removing the circular dependency. If you
really think this can cause problems, I'll change the build.xml
--------------------
Brady Johnson
Lead Software Developer - HydraSCA
Rogue Wave Software - brady.johnson@roguewave.com
-----Original Message-----
From: Pete Robbins [mailto:robbinspg@googlemail.com]
Sent: Wednesday, November 07, 2007 1:10 AM
To: tuscany-dev@ws.apache.org
Subject: Re: Problem with ant on building TuscanyMSVC8DevStudioCCompiler
adaptor tool
Yes, you're right we should fix it. The build for this jar should be v
simple so probably does not need to include the system.xml etc..
Cheers,
On 07/11/2007, Adriano Crestani <ad...@apache.org> wrote:
> I understand, but it's wrong, cause there is a circular dependency.
> But we may left as it is, cause it will probably be deleted soon when
> the cpp-tasks bug is fixed.
>
> Do you have any news about a fix for this bug Brady?
>
> Regards,
> Adriano Crestani
>
> On Nov 7, 2007 3:45 AM, Pete Robbins <ro...@googlemail.com> wrote:
>
> > The jar files are checked in to svn so should not be deleted I
guess??
> > It will be re-built if the java src gets updated.
> >
> > Cheers,
> >
> > On 07/11/2007, Adriano Crestani <ad...@apache.org> wrote:
> > > All 3 native projects have a tool called
> > > TuscanyMSVC8DevStudioCCompiler
> > that
> > > is an adaptor that fixes a bug on cpp-tasks.
> > >
> > > However, when I try to build it from the source available on tools
> > > directory, I get the following error:
> > >
> > > BUILD FAILED
> > > E:\Adriano\cpp\sca\tools\ant_cpptasks\build.xml
> > > :24: The following error occurred while executing this line:
> > > E:\Adriano\cpp\sca\antscripts\system.xml:592: j
> > > ava.lang.ClassNotFoundException:
> > > tuscany.antCompilers.TuscanyMSVC8DevStudioCComp
> > > iler
> > >
> > >
> > > It occurs because build.xml located on \cpp\<sca or sdo or
> > das>\antscripts\
> > > imports the system.xml that tries to define the compiler using the
> > > TuscanyMSVC8DevStudioCCompiler class:
> > >
> > > <compiler id="msvc8-Compiler"
> > > extends="Tuscany-BaseCompiler"
> > > classname="
> > tuscany.antCompilers.TuscanyMSVC8DevStudioCCompiler">
> > > <defineset
> > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,_CRT_NON_CONFORMING_SWPRINT
> > > FS"/>
> > > </compiler>
> > >
> > >
> > >
> > > But, the adaptor is not compiled yet when the system.xml tries to
> > > define
> > the
> > > compiler.
> > >
> > > Is there a way to specify that ant should ignore this errors if
> > > the TuscanyMSVC8DevStudioCCompiler.jar does not exists? I havent
found any :
> > (
> > >
> > > PS.: To see this bug, all three TuscanyMSVC8DevStudioCCompiler.jar
> > > files located on each project must be deleted.
> > >
> > > Adriano Crestani
> > >
> >
> >
> > --
> > Pete
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
>
--
Pete
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: Problem with ant on building TuscanyMSVC8DevStudioCCompiler adaptor tool
Posted by Pete Robbins <ro...@googlemail.com>.
This jar file will have to be part of the Release distributions as
well so we will need to include LICENCE information in a similar way
to our scagen jar
(cpp\sca\runtime\extensions\cpp\tools\scagen\META-INF)
Cheers,
On 07/11/2007, Pete Robbins <ro...@googlemail.com> wrote:
> Yes, you're right we should fix it. The build for this jar should be v
> simple so probably does not need to include the system.xml etc..
>
> Cheers,
>
> On 07/11/2007, Adriano Crestani <ad...@apache.org> wrote:
> > I understand, but it's wrong, cause there is a circular dependency. But we
> > may left as it is, cause it will probably be deleted soon when the cpp-tasks
> > bug is fixed.
> >
> > Do you have any news about a fix for this bug Brady?
> >
> > Regards,
> > Adriano Crestani
> >
> > On Nov 7, 2007 3:45 AM, Pete Robbins <ro...@googlemail.com> wrote:
> >
> > > The jar files are checked in to svn so should not be deleted I guess??
> > > It will be re-built if the java src gets updated.
> > >
> > > Cheers,
> > >
> > > On 07/11/2007, Adriano Crestani <ad...@apache.org> wrote:
> > > > All 3 native projects have a tool called TuscanyMSVC8DevStudioCCompiler
> > > that
> > > > is an adaptor that fixes a bug on cpp-tasks.
> > > >
> > > > However, when I try to build it from the source available on tools
> > > > directory, I get the following error:
> > > >
> > > > BUILD FAILED
> > > > E:\Adriano\cpp\sca\tools\ant_cpptasks\build.xml
> > > > :24: The following error occurred while executing this line:
> > > > E:\Adriano\cpp\sca\antscripts\system.xml:592: j
> > > > ava.lang.ClassNotFoundException:
> > > > tuscany.antCompilers.TuscanyMSVC8DevStudioCComp
> > > > iler
> > > >
> > > >
> > > > It occurs because build.xml located on \cpp\<sca or sdo or
> > > das>\antscripts\
> > > > imports the system.xml that tries to define the compiler using the
> > > > TuscanyMSVC8DevStudioCCompiler class:
> > > >
> > > > <compiler id="msvc8-Compiler"
> > > > extends="Tuscany-BaseCompiler"
> > > > classname="
> > > tuscany.antCompilers.TuscanyMSVC8DevStudioCCompiler">
> > > > <defineset
> > > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,_CRT_NON_CONFORMING_SWPRINTFS"/>
> > > > </compiler>
> > > >
> > > >
> > > >
> > > > But, the adaptor is not compiled yet when the system.xml tries to define
> > > the
> > > > compiler.
> > > >
> > > > Is there a way to specify that ant should ignore this errors if the
> > > > TuscanyMSVC8DevStudioCCompiler.jar does not exists? I havent found any :
> > > (
> > > >
> > > > PS.: To see this bug, all three TuscanyMSVC8DevStudioCCompiler.jar files
> > > > located on each project must be deleted.
> > > >
> > > > Adriano Crestani
> > > >
> > >
> > >
> > > --
> > > Pete
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > >
> > >
> >
>
>
> --
> Pete
>
--
Pete
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: Problem with ant on building TuscanyMSVC8DevStudioCCompiler adaptor tool
Posted by Pete Robbins <ro...@googlemail.com>.
Yes, you're right we should fix it. The build for this jar should be v
simple so probably does not need to include the system.xml etc..
Cheers,
On 07/11/2007, Adriano Crestani <ad...@apache.org> wrote:
> I understand, but it's wrong, cause there is a circular dependency. But we
> may left as it is, cause it will probably be deleted soon when the cpp-tasks
> bug is fixed.
>
> Do you have any news about a fix for this bug Brady?
>
> Regards,
> Adriano Crestani
>
> On Nov 7, 2007 3:45 AM, Pete Robbins <ro...@googlemail.com> wrote:
>
> > The jar files are checked in to svn so should not be deleted I guess??
> > It will be re-built if the java src gets updated.
> >
> > Cheers,
> >
> > On 07/11/2007, Adriano Crestani <ad...@apache.org> wrote:
> > > All 3 native projects have a tool called TuscanyMSVC8DevStudioCCompiler
> > that
> > > is an adaptor that fixes a bug on cpp-tasks.
> > >
> > > However, when I try to build it from the source available on tools
> > > directory, I get the following error:
> > >
> > > BUILD FAILED
> > > E:\Adriano\cpp\sca\tools\ant_cpptasks\build.xml
> > > :24: The following error occurred while executing this line:
> > > E:\Adriano\cpp\sca\antscripts\system.xml:592: j
> > > ava.lang.ClassNotFoundException:
> > > tuscany.antCompilers.TuscanyMSVC8DevStudioCComp
> > > iler
> > >
> > >
> > > It occurs because build.xml located on \cpp\<sca or sdo or
> > das>\antscripts\
> > > imports the system.xml that tries to define the compiler using the
> > > TuscanyMSVC8DevStudioCCompiler class:
> > >
> > > <compiler id="msvc8-Compiler"
> > > extends="Tuscany-BaseCompiler"
> > > classname="
> > tuscany.antCompilers.TuscanyMSVC8DevStudioCCompiler">
> > > <defineset
> > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,_CRT_NON_CONFORMING_SWPRINTFS"/>
> > > </compiler>
> > >
> > >
> > >
> > > But, the adaptor is not compiled yet when the system.xml tries to define
> > the
> > > compiler.
> > >
> > > Is there a way to specify that ant should ignore this errors if the
> > > TuscanyMSVC8DevStudioCCompiler.jar does not exists? I havent found any :
> > (
> > >
> > > PS.: To see this bug, all three TuscanyMSVC8DevStudioCCompiler.jar files
> > > located on each project must be deleted.
> > >
> > > Adriano Crestani
> > >
> >
> >
> > --
> > Pete
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
>
--
Pete
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: Problem with ant on building TuscanyMSVC8DevStudioCCompiler adaptor tool
Posted by Adriano Crestani <ad...@apache.org>.
I understand, but it's wrong, cause there is a circular dependency. But we
may left as it is, cause it will probably be deleted soon when the cpp-tasks
bug is fixed.
Do you have any news about a fix for this bug Brady?
Regards,
Adriano Crestani
On Nov 7, 2007 3:45 AM, Pete Robbins <ro...@googlemail.com> wrote:
> The jar files are checked in to svn so should not be deleted I guess??
> It will be re-built if the java src gets updated.
>
> Cheers,
>
> On 07/11/2007, Adriano Crestani <ad...@apache.org> wrote:
> > All 3 native projects have a tool called TuscanyMSVC8DevStudioCCompiler
> that
> > is an adaptor that fixes a bug on cpp-tasks.
> >
> > However, when I try to build it from the source available on tools
> > directory, I get the following error:
> >
> > BUILD FAILED
> > E:\Adriano\cpp\sca\tools\ant_cpptasks\build.xml
> > :24: The following error occurred while executing this line:
> > E:\Adriano\cpp\sca\antscripts\system.xml:592: j
> > ava.lang.ClassNotFoundException:
> > tuscany.antCompilers.TuscanyMSVC8DevStudioCComp
> > iler
> >
> >
> > It occurs because build.xml located on \cpp\<sca or sdo or
> das>\antscripts\
> > imports the system.xml that tries to define the compiler using the
> > TuscanyMSVC8DevStudioCCompiler class:
> >
> > <compiler id="msvc8-Compiler"
> > extends="Tuscany-BaseCompiler"
> > classname="
> tuscany.antCompilers.TuscanyMSVC8DevStudioCCompiler">
> > <defineset
> > define="WIN32,_CRT_SECURE_NO_DEPRECATE,_CRT_NON_CONFORMING_SWPRINTFS"/>
> > </compiler>
> >
> >
> >
> > But, the adaptor is not compiled yet when the system.xml tries to define
> the
> > compiler.
> >
> > Is there a way to specify that ant should ignore this errors if the
> > TuscanyMSVC8DevStudioCCompiler.jar does not exists? I havent found any :
> (
> >
> > PS.: To see this bug, all three TuscanyMSVC8DevStudioCCompiler.jar files
> > located on each project must be deleted.
> >
> > Adriano Crestani
> >
>
>
> --
> Pete
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
Re: Problem with ant on building TuscanyMSVC8DevStudioCCompiler adaptor tool
Posted by Pete Robbins <ro...@googlemail.com>.
The jar files are checked in to svn so should not be deleted I guess??
It will be re-built if the java src gets updated.
Cheers,
On 07/11/2007, Adriano Crestani <ad...@apache.org> wrote:
> All 3 native projects have a tool called TuscanyMSVC8DevStudioCCompiler that
> is an adaptor that fixes a bug on cpp-tasks.
>
> However, when I try to build it from the source available on tools
> directory, I get the following error:
>
> BUILD FAILED
> E:\Adriano\cpp\sca\tools\ant_cpptasks\build.xml
> :24: The following error occurred while executing this line:
> E:\Adriano\cpp\sca\antscripts\system.xml:592: j
> ava.lang.ClassNotFoundException:
> tuscany.antCompilers.TuscanyMSVC8DevStudioCComp
> iler
>
>
> It occurs because build.xml located on \cpp\<sca or sdo or das>\antscripts\
> imports the system.xml that tries to define the compiler using the
> TuscanyMSVC8DevStudioCCompiler class:
>
> <compiler id="msvc8-Compiler"
> extends="Tuscany-BaseCompiler"
> classname="tuscany.antCompilers.TuscanyMSVC8DevStudioCCompiler">
> <defineset
> define="WIN32,_CRT_SECURE_NO_DEPRECATE,_CRT_NON_CONFORMING_SWPRINTFS"/>
> </compiler>
>
>
>
> But, the adaptor is not compiled yet when the system.xml tries to define the
> compiler.
>
> Is there a way to specify that ant should ignore this errors if the
> TuscanyMSVC8DevStudioCCompiler.jar does not exists? I havent found any : (
>
> PS.: To see this bug, all three TuscanyMSVC8DevStudioCCompiler.jar files
> located on each project must be deleted.
>
> Adriano Crestani
>
--
Pete
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org