Mingzhen; The Workspace is in a separate location than the code base. The default is in the Documents and Settings directory for the install user. You can find it by doing a File > Switch Workspace in Composer/ Eclipse and the current workspace will be displayed.
The preferred method for manipulating workspace files is to drag/drop files into the Workspace via the Navigator view. You can also copy/ paste using Navigator. If you manipulate files outside of the Navigator view, be sure to refresh the appropriate project/folder. -- Scott On Apr 14, 10:03 am, mwz <[email protected]> wrote: > Hi Holger, > > Where should the RDF/SPIN file locate usually? I looked at the folder > for TopBraidComposerME, and am quite confused about the location of my > current project. There are folders for '.install4j', 'configuration', > 'dropins', 'features', 'jre', 'p2','plugins', and 'readme'. I did not > see any clue to find my project in the hard driver. > > Thank you for your help, > > Mingzhen > > On Apr 13, 3:40 pm, Holger Knublauch <[email protected]> wrote: > > > Hi Mingzhen, > > > if you have a spin:Function my:testFunction then you just need to > > create a JavaScript file in the same folder as your RDF/SPIN file and > > point to that file using spinx:javaScriptFile. The file either needs > > to contain a JavaScript function called testFunction, or you can call > > any other function from that file using spinx:javaScriptCode. > > > Holger > > > On Apr 13, 2009, at 1:30 PM, mwz wrote: > > > > Hi Everyone, > > > > I am testing how TopBraid can access a user defined javascript file > > > and therefore the functions in the file. For example, I am defining a > > > subclass of spin:Function, there are options like spinx:javaScriptCode > > > and spinx:javaScriptFile. If I want to use the second option, where > > > should I put the file (assuming there is only one function in the > > > file) and how should I infer to the file. Thank you very much. > > > > Mingzhen- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-composer-users?hl=en -~----------~----~----~----~------~----~------~--~---
