Re: Check if framework was included in application

Miguel Angel Torres Avila <[email protected]> Tue, 5 Apr 2011 13:01:54 -0500
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
--===============1682945677==
Content-Type: multipart/alternative; boundary=Apple-Mail-15--550716054


--Apple-Mail-15--550716054
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1

Thanks Chuck,

I will try it.


On Apr 5, 2011, at 12:59 PM, Chuck Hill wrote:

> How about just doing a Class.forName("...") on a class you know is =
defined in that FW?
>=20
> If you want a more "WO" way, use =
NSBundle.bundleForName("MyFramework"), this returns null if it does not =
exist.
>=20
>=20
> Chuck
>=20
>=20
> On Apr 5, 2011, at 10:54 AM, Miguel Angel Torres Avila wrote:
>=20
>> Hi list,
>>=20
>> I am working in a new framework that encapsulates all the =
functionality of an entire module. The idea is just to include this =
framework in any application and voila! a new menu is included and the =
user can interact with it and all the module's functionality.
>>=20
>> Of course it is no that easy and now I need to know if there is a way =
to know if a Framework is included in the application to decide when to =
run certain processes to create the connectivity between the application =
and framework.
>>=20
>> Does anybody know if there is a function to accomplish the =
verification of the presence of determined framework?
>>=20
>>=20
>>=20
>>=20
>> _______________________________
>> Ing. Miguel Angel Torres Avila
>> Director General
>> Tel: +52 (33) 3367 1892
>> Cel: +52 (33) 3106 8758
>> E-mail: [email protected]
>> www.toracom.net
>>=20
>> Antes de imprimir, piense en el Medio Ambiente. Before printing think =
about the Environment. Avant d'imprimer, pensez =E0 l'Environnement=20
>>=20
>>=20
>>=20
>> =20
>>=20
>> _______________________________________________
>> WebObjects-dev mailing list
>> [email protected]
>> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>=20
> --=20
> Chuck Hill             Senior Consultant / VP Development
>=20
> Practical WebObjects - for developers who want to increase their =
overall knowledge of WebObjects or who are trying to solve specific =
problems.   =20
> http://www.global-village.net/products/practical_webobjects
>=20
>=20
>=20
>=20
>=20
>=20
>=20

_______________________________
Ing. Miguel Angel Torres Avila
Director General
Tel: +52 (33) 3367 1892
Cel: +52 (33) 3106 8758
E-mail: [email protected]
www.toracom.net

Antes de imprimir, piense en el Medio Ambiente. Before printing think =
about the Environment. Avant d'imprimer, pensez =E0 l'Environnement=20



=20


--Apple-Mail-15--550716054
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=iso-8859-1

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
">Thanks Chuck,<div><br></div><div>I will try =
it.</div><div><br></div><div><br><div><div>On Apr 5, 2011, at 12:59 PM, =
Chuck Hill wrote:</div><br class=3D"Apple-interchange-newline"><blockquote=
 type=3D"cite"><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; -webkit-line-break: after-white-space; ">How about just doing a =
Class.forName("...") on a class you know is defined in that =
FW?<div><br></div><div>If you want a more "WO" way, =
use&nbsp;NSBundle.bundleForName("MyFramework"), this returns null if it =
does not =
exist.</div><div><br></div><div><br></div><div>Chuck</div><div><br></div><=
div><br><div><div>On Apr 5, 2011, at 10:54 AM, Miguel Angel Torres Avila =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; -webkit-line-break: after-white-space; ">Hi =
list,<div><br></div><div>I am working in a new framework that =
encapsulates all the functionality of an entire module. The idea is just =
to include this framework in any application and voila! a new menu is =
included and the user can interact with it and all the module's =
functionality.</div><div><br></div><div>Of course it is no that easy and =
now I need to know if there is a way to know if a Framework is included =
in the application to decide when to run certain processes to create the =
connectivity between the application and =
framework.</div><div><br></div><div>Does anybody know if there is a =
function to accomplish the verification of the presence of determined =
framework?</div><div><br></div><div><br><div =
apple-content-edited=3D"true">
<span class=3D"Apple-style-span" style=3D"font-family: Arial, Helvetica, =
sans-serif; font-size: x-small; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; font-family: Helvetica; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: 2; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; font-family: Helvetica; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: 2; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; font-family: Helvetica; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: 2; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><div style=3D"font-size: 9px; =
font-family: Arial, Helvetica, sans-serif; "><font =
class=3D"Apple-style-span" face=3D"Helvetica"><span =
class=3D"Apple-style-span" style=3D"font-size: medium; "><font =
class=3D"Apple-style-span" face=3D"Arial, Helvetica, sans-serif" =
size=3D"1"><span class=3D"Apple-style-span" style=3D"font-size: 9px; =
"></span></font></span></font><br =
class=3D"webkit-block-placeholder"></div><font class=3D"Apple-style-span" =
face=3D"Helvetica"><font class=3D"Apple-style-span" face=3D"Arial, =
Helvetica, sans-serif" size=3D"1"><div style=3D"font-size: 10px; =
font-family: Arial, Helvetica, sans-serif; "><br =
class=3D"webkit-block-placeholder"></div><p style=3D"font-size: 10px; =
font-family: Arial, Helvetica, sans-serif; =
">_______________________________<br>Ing. Miguel Angel Torres =
Avila<br>Director General<br>Tel: +52 (33) 3367 1892<br>Cel: +52 (33) =
3106 8758<br>E-mail: <a =
href=3D"mailto:[email protected]">[email protected]</a><br><a =
href=3D"http://www.toracom.net/">www.toracom.net</a></p><p =
style=3D"font-size: 9px; font-family: Verdana, Geneva, sans-serif; =
color: rgb(0, 153, 0); "><img =
src=3D"http://www.toracom.net/firmaEmail/hoja.jpg">Antes de imprimir, =
piense en el Medio Ambiente. Before printing think about the =
Environment. Avant d'imprimer, pensez =E0 l'Environnement<span =
class=3D"Apple-converted-space">&nbsp;</span><br><br><br></p><div>&nbsp;<b=
r class=3D"webkit-block-placeholder"></div>
</font></font></div><font class=3D"Apple-style-span" =
face=3D"Helvetica"><font class=3D"Apple-style-span" face=3D"Arial, =
Helvetica, sans-serif" size=3D"1">
</font></font></span></div></span></div></span></span></div>
=
<br></div></div>_______________________________________________<br>WebObje=
cts-dev mailing list<br><a =
href=3D"mailto:[email protected]">[email protected]<=
/a><br><a =
href=3D"http://www.omnigroup.com/mailman/listinfo/webobjects-dev">http://w=
ww.omnigroup.com/mailman/listinfo/webobjects-dev</a><br></blockquote></div=
><br><div>
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
font-family: Helvetica; font-size: medium; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; =
"><div><div><div>--&nbsp;</div><div><div>Chuck Hill &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; Senior Consultant / VP =
Development</div><div><br></div></div><div>Practical WebObjects - for =
developers who want to increase their overall knowledge of WebObjects or =
who are trying to solve specific problems. &nbsp; &nbsp;</div><div><a =
href=3D"http://www.global-village.net/products/practical_webobjects">http:=
//www.global-village.net/products/practical_webobjects</a></div><div><br><=
/div><div><br></div><div><br></div><br></div></div><br></span><br =
class=3D"Apple-interchange-newline">
</div>
<br></div></div></blockquote></div><br><div apple-content-edited=3D"true">=

<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span =
class=3D"Apple-style-span" style=3D"font-family: Arial, Helvetica, =
sans-serif; font-size: x-small; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><p style=3D"font-size: 9px; =
font-family: Arial, Helvetica, sans-serif; "><font =
class=3D"Apple-style-span" face=3D"Helvetica"><span =
class=3D"Apple-style-span" style=3D"font-size: medium; "><font =
class=3D"Apple-style-span" face=3D"Arial, Helvetica, sans-serif" =
size=3D"1"><span class=3D"Apple-style-span" style=3D"font-size: 9px; =
"></span></font></span></font></p><font class=3D"Apple-style-span" =
face=3D"Helvetica"><font class=3D"Apple-style-span" face=3D"Arial, =
Helvetica, sans-serif" size=3D"1"><p style=3D"font-size: 10px; =
font-family: Arial, Helvetica, sans-serif; "></p><p style=3D"font-size: =
10px; font-family: Arial, Helvetica, sans-serif; =
">_______________________________<br>Ing. Miguel Angel Torres =
Avila<br>Director General<br>Tel: +52 (33) 3367 1892<br>Cel: +52 (33) =
3106 8758<br>E-mail: <a =
href=3D"mailto:[email protected]">[email protected]</a><br><a =
href=3D"http://www.toracom.net">www.toracom.net</a></p><p =
style=3D"font-size: 9px; font-family: Verdana, Geneva, sans-serif; =
color: rgb(0, 153, 0); "><img =
src=3D"http://www.toracom.net/firmaEmail/hoja.jpg">Antes de imprimir, =
piense en el Medio Ambiente. Before printing think about the =
Environment. Avant d'imprimer, pensez =E0 l'Environnement<span =
class=3D"Apple-converted-space">&nbsp;</span><br><br><br></p><div>&nbsp;<b=
r class=3D"webkit-block-placeholder"></div>
</font></font></div><font class=3D"Apple-style-span" =
face=3D"Helvetica"><font class=3D"Apple-style-span" face=3D"Arial, =
Helvetica, sans-serif" size=3D"1">
=
</font></font></span></div></span></div></span></span></span></div><br></d=
iv></body></html>=

--Apple-Mail-15--550716054--

--===============1682945677==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev

--===============1682945677==--