[OpenAjaxIDE] Did you mean <library> instead of <resource>?

Jonathan Bond-Caron jbondc at gdesolutions.com
Fri Dec 7 05:37:38 PST 2007


It was intentional though it's not a recommendation. Just wanted to point
out that for me, a library or widget is just another type of resource that
an IDE has to manage somehow.

 

From: Jon Ferraiolo [mailto:jferrai at us.ibm.com] 
Sent: December 6, 2007 2:19 PM
To: Jonathan Bond-Caron
Cc: ide at openajax.org
Subject: Did you mean <library> instead of <resource>?

 

Hi Jonathan,
Question about your entry on the following wiki page:

* http://www.openajax.org/member/wiki/IDE_Issue_1

One of your examples says:
-----------------
<resource Id="acbCompany" xmlns="http://ns.openajax.org/library"
 ...
 baseDirectory="...relative URL to root folder for library..."
 ...
 >
 ...
 <resources>
   <resource type="javascript|css|..." uri="<url>"/> <!-- from Adobe -->
   <!-- etc -->
 </resources>
 ...
 <preload> <!-- from jMaki -->
   ...javascript logic...
 </preload>
 ...
</resource>
-----------------

Should the outermost tag be <library> instead of <resource>? For example:
-----------------
<library Id="acbCompany" xmlns="http://ns.openajax.org/library"
 ...
 baseDirectory="...relative URL to root folder for library..."
 ...
 >
 ...
 <resources>
   <resource type="javascript|css|..." uri="<url>"/> <!-- from Adobe -->
   <!-- etc -->
 </resources>
 ...
 <preload> <!-- from jMaki -->
   ...javascript logic...
 </preload>
 ...
</library>
-----------------

Thanks.
Jon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openajax.org/pipermail/ide/attachments/20071207/455c2387/attachment.html 


More information about the IDE mailing list