Referenced Library from an Eclipse plugin needs a .properties file

I have a problem with reading .properties files from my Eclipse plugin.
My plugin uses a Referenced Library .jar file. In the file a class is calling:
new FileInputStream("xxx.properties")
and it can't find the .properties file. I have this file. Where should I put it, or include it's path so that my library can find it when running the plugin?

Place it in the working directory.And what would be the working directory for a plugin?Probably the same as for Eclipse since it's loaded by that process.

Similar Messages

  • Error when starting weblogic from forthnet eclipse plugin?

    Hi,
    I'm getting an error when trying to start my weblogic server from the forthnet eclipse plugin. (However, it works to start the server from a command prompt on the machine it is running on, and also, it works to stop the server from eclipse)
    Server and eclipse is running on Windows.
    The error reported is:
    <2004-sep-01 kl 16:13 CEST> <Warning> <EmbeddedLDAP> <BEA-171520> <Could not obtain an exclusive lock for directory: .\decisionsite81\ldap\ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>
    <2004-sep-01 kl 16:13 CEST> <Warning> <EmbeddedLDAP> <BEA-171520> <Could not obtain an exclusive lock for directory: .\decisionsite81\ldap\ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>
    <2004-sep-01 kl 16:13 CEST> <Warning> <EmbeddedLDAP> <BEA-171520> <Could not obtain an exclusive lock for directory: .\decisionsite81\ldap\ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>
    <2004-sep-01 kl 16:13 CEST> <Warning> <EmbeddedLDAP> <BEA-171520> <Could not obtain an exclusive lock for directory: .\decisionsite81\ldap\ldapfiles. Waiting for 10 seconds and then retrying in case existing WebLogic Server is still shutting down.>
    <2004-sep-01 kl 16:13 CEST> <Error> <EmbeddedLDAP> <BEA-171519> <Could not obtain an exclusive lock to the embedded LDAP data files directory: .\decisionsite81\ldap\ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.>
    <2004-sep-01 kl 16:13 CEST> <Critical> <WebLogicServer> <BEA-000364> <Server failed during initialization. Exception:weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: .\decisionsite81\ldap\ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.
    weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: .\decisionsite81\ldap\ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.
         at weblogic.ldap.EmbeddedLDAP.ensureExclusiveAccess(EmbeddedLDAP.java:959)
         at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:221)
         at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:814)
         at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342)
         at weblogic.Server.main(Server.java:32)
    >
    <2004-sep-01 kl 16:13 CEST> <Emergency> <WebLogicServer> <BEA-000342> <Unable to initialize the server: weblogic.server.ServiceFailureException: Could not obtain an exclusive lock to the embedded LDAP data files directory: .\decisionsite81\ldap\ldapfiles because another WebLogic Server is already using this directory. Ensure that the first WebLogic Server is completely shutdown and restart the server.>
    I've tried removing the "EmbeddedLDAP.lok" file, but without luck.

    Which version of your eclipse? I am using eclipse 3.0 and I am able to start weblogic 8.1 from eclipse.
    I did the following steps:
    1.create a new domain through weblogic's configuration wizard --> basic weblogic server domain --> Express --> proive the user name and password --> development mode, and sun sdk (or other jdk) --> your new domain name
    2. configure weblogic setting in eclipse: preferences --> weblogic --> 8.1, C:\bea\weblogic81, your newly created domain name --> C:\bea\user_projects\domains (domain directory) --> myserver --> admin (or your user name) --> password --> localhost --> 7001
    after that, you should be able to click on "start weblogic server" button from toolbar.
    Hope my two cents solve your problem.

  • How can I transfer my iTunes Media Library from one PC to another without losing files and making a mess of the file and album structure?

    I have imported a number of Café del Mar CD's to iTunes, and iTunes keeps scattering the tunes into several different folders in iTunes Media. It also has trouble finding album information, unless it has been downloaded from iTunes Store. Previous versions of iTunes I have tried didn't have this problem.
    I've tried to tidy the files manually in iTunes Media, but that usually results in duplicates, so I stopped messing with it. I actually wouldn't mind iTunes blowing up my albums into a nightmare file structure of hyper categorization in iTunes Media (Album, Album Artist, Artist, etc.) if only it recognised its own mess when I transfer the library from one iTunes library into another.
    An example: I downloaded Cafe del Mar - Essential Elements featuring 13 tunes, two of these can be found in the files Cafe del Mar/Cafe del Mar Essential Elements, iTunes also created the folder Cafe del Mar/Cafe del_Mar Essential Elements containing 0 tunes!?! and the rest of the tunes are found under Rue de Soleil in the root folder, indicating ONE of the artists as the criteria for creating a folder of tunes!?!
    I am trying with every fiber NOT to hate this program, and would appreciate it if someone could explain to me how I can move an iTunes Media library of aprox 54 gb from my desktop via an external harddisk onto my laptop. I have tried 4 times, and everytime the result varies. Sometime I transfer 3000 files, other times 4000. Which files follow and don't is random. I lose files tranferring to the external harddisk and lose even more files from the external disk to the new library on my Lap. Do I have to transfer song for song or can this genius program actually transfer a larger amount of files without losing half the files and duplicating the rest?
    Is there a limit of size or amount of files?

    Backup with this User Tip, restore the library to the new computer using the same tool, keep the backup up-to-date in future. Deauthorize the old computer if you no longer need to access protected content on it.
    As to your issues with compilations albums select all the tracks, set the Album Artist to Various Artists and on the options tab set Part of a compilation to Yes. See Grouping tracks into albums for details.
    tt2

  • Transferred library from old PC to new, lost all files dl'd from ITunes

    Transferred music files from old pc to new with minimal difficulty, but have now realized all songs downloaded to my library from ITunes have failed to make the trip!
    I used the Ipod itself to transfer the files, as I couldn't figure out how to get the 2 pc's to transfer files via a wireless connection. Now my 60gb Ipod which had ~5800 songs using ~22gb its memory states it has 5275 songs on it and only 15.7gb available. Where did I manage to screw this up?
    I imagine there is a problem where this new computer has not been authorized. True? When I first download some new songs from Itunes, will it then be authorized and my songs will reappear? Why is the amount of memory affected?
    Thanks mucho for any available help. I have searched for quite a while, but haven't been able to find someone who has had the same experience or trouble.
    G

    I'd imagine that's because you had no music files on your newly reformatted drive, and when you reattached your shuffle it loaded an empty file, hence no tunes.
    This (transferring the files from computer to computer) was done using the instructions found here.
    http://docs.info.apple.com/article.html?artnum=300173
    Don't know if that works for the shuffle, though.

  • Converting Library from lossless to mp3 need help

    I have uploaded my whole library in apple lossless format.
    It took up too much space so I converted the whole library to mp3 vbr @192k. The only problem is that I lost all of my lossless files? Can anyone give me advice on keeping two libraries...One lossless and one for the ipod.

    Hi Ed,
    Normally, when you convert a track in your library it doesn't delete the old one. There is even a function within iTunes for deleting these duplicates. But why would you want to keep a separate library for lossless? You have the CDs, right?
    I suppose you could set your iTunes Preferences->Advanced->"iTunes Music folder location" to some other directory and create a lossless library there. Then change it back to the normal directory and create your version w/AAC 192. This will use a lot of disk space.
    Good luck!
    -dave

  • How do I transfer the iTunes library from my Mac to Windows without moving files?

    I have my Media on a Windows file share and currenty my Mac's iTunes library is pointed there. I just installed iTunes on my Windows box and now I want to transfer the iTunes database( music, playcounts, playlist, etc ) to the Windows iTunes while keeping the files in place as they don't need to be moved.
    Both systems are authorized on my acount and have home sharing turned on. They are both pointed to the same Media folder in their library settings.
    How can I make the transfer without uncessary file copying?

    The key file is the library.itl file.  This is the file iTunes uses to store all the information it presents to you when you open the program.  Well, there's also a few other library files as well as the artwork folder, but the .itl file is the center of it.  You don't say whether or not the PC has its own library with unique content, or if you are trying to duplicate the library for both.  If the PC library is empty try copying the whole iTunes folder (which contains no media according to you) to the PC, then start iTunes with the shift key held down and guide iTunes to the new library file set (or copy it over the one currently on your PC and just start normally).
    What are the iTunes library files? - http://support.apple.com/kb/HT1660
    More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
    Where are my iTunes files located? - http://support.apple.com/kb/ht1391
    iTunes: How to move [or copy] your music [library] to a new computer [or another drive] - http://support.apple.com/kb/HT4527 - a somewhat bewildering and not always easily understandable set of options.
    Windows users see tip at: https://discussions.apple.com/message/18879381

  • IPhoto Managed Library and Referenced Library. What is the difference?

    In a reply regarding iphoto TD mentions managed library and referenced library. What is the difference and how do you set them up?

    A Managed Library is the default setting, photos are copied into the iPhoto Library on import. In this scenario, iPhoto is responsible for the file management.
    A Referenced Library means that iPhoto does not touch the files when you import them. They remain where they were and iPhoto References them in their location.
    Simply go to iPhoto Menu -> Preferences -> Advanced and uncheck 'Copy Files to the iPhoto Library on Import'.
    Now iPhoto will not copy the files, but rather simply reference them on your HD. To do this it will create an alias in the Originals Folder that points to your file. It will still create a thumbnail and, if you modify the pics, a Modified version within the iPhoto Library Folder.
    However, you need to be aware of a number of potential pitfalls using this system.
    1. Import and deleting pics are more complex procedures
    2. You cannot move or rename the files on your system or iPhoto will lose track of them on systems prior to 10.5 and iPhoto 08. Even with the later versions issues can still arise if you move the referenced files to new volumes or between volumes.
    3. Most importantly, migrating to a new disk or computer can be much more complex.
    Always allowing for personal preference, I've yet to see a good reason to run iPhoto in referenced mode unless you're using two photo organisers.
    If disk space is an issue, you can run an entire iPhoto Library from an external disk:
    1. Quit iPhoto
    2. Copy the iPhoto Library as an entity from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    If you're concerned about accessing the files, There are many, many ways to access your files in iPhoto:
    *For Users of 10.5 and later*
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    You can access the Library from the New Message Window in Mail:
    Uploaded with plasq's Skitch!
    *For users of 10.4 and later* ...
    Many internet sites such as Flickr and SmugMug have plug-ins for accessing the iPhoto Library. If the site you want to use doesn’t then some, one or any of these will also work:
    To upload to a site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. However, if you're using Gmail you can use iPhoto2GMail
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    *If you want to access the files with iPhoto not running*:
    For users of 10.6 and later:
    You can download a free Services component from MacOSXAutomation which will give you access to the iPhoto Library from your Services Menu. Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and later:
    Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    *For working with an External Editor*
    You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.
    Lots of folks are attracted to the idea of a Referenced Library - well I can see my files! But, frankly, unless you're an experienced Mac user I would stay well away. Not infrequently we see folks here complaining that iPhoto has "lost their photos" when what has happened is that they have imported from the Camera Card in Referenced Mode, then erased the card. Even more common, any change in the path the the file - renaming a disk, folder or file - for instance when migrating to a new machine, when trying to make space on the start up disk by moving files off the an external - also causes big problems.
    If you really, really want to run a Referenced Library check out Aperture. It has tools that are much stonger in the area - like migrating tools and reconnecting tools.
    Regards
    TD

  • Recovering an iPhoto Library from damaged HD and moving it to new HD

    Dear Experts,
    I am seeking directions on a procedure that might be straight forward but I must be do this correctly. I lost my iMac internal HD when it stopped booting. The System was 10.4.8 and iPhoto6. Booting from Norten showed 68 damaged blocks. Set up a PowerBook and connected via fire wire to iMac and ran in target mode. I Finder copied the entire contents of the dead HD to an external FW drive. Lost about 3 GB's of data from dead HD but don't know what is missing. The iPhoto Library from the dead HD has, among many files, a "Library.iPhoto" file as well as a "Library6.iPhoto" file. It also contains Original, Modified, and Recovered Photos folders.
    I replaced the damaged internal HD drive with a new drive. Installed a clean version of Tiger on the new internal HD and did all software updates to get me current to 10.4.8. When I opened iPhoto6 from the new internal HD there were, naturally, no photos. When I opened iPhoto with "option-iPhoto open", I was instructed to select a Library. I directed iPhoto to the "iPhoto Library" from the external FW drive. Every thing appears to be normal, with the original organizational structure intact.
    I now want to move the original AND modified photos from the external FW drive to my new internal HD, preserving roll names, ratings, keywords, i.e. the complete database. Afterwards, I want to erase the external FW drive, so I must be sure that I have the complete folder on the internal HD. I don't want iPhoto to be linked to the Library Folder on the FW.
    1) Should I trash the contents of the iPhoto Folder on the internal drive (which has no photos) and replace it with the contents of the iPhoto Folder on the external FW drive (the one from my original disk)?
    2) Should I simply replace the "Library6.iPhoto" on the internal HD with the "Library6.iPhoto" file on the FW?
    3) Must I use iPhoto Library Manager to move my old data?
    4) Would I have to use iPhoto dB Backup from Toad's Celler?
    5) When I commissioned the new internal HD, I used the option of transferring all my settings, preferences, etc. from the old computer (the contents of the damaged internal HD which I had copied to the external). Could this have corrupted anything in the iPhoto Library? Why do I have a "Library.iPhoto" file in the old iPhoto Library Folder and not in the new iPhoto Library Folder on the new internal HD?
    6) When I opened the original iPhoto Library from iPhoto application, my picture count was 2037. In that same folder, the total pictures were as follows:
    "Originals" Folder: 2149
    "Modified" Folder: 487
    "Recovered Photos" Folder: 37
    Why the discrepancy?
    Many thanks.
    iMac G4, 800 MHz   Mac OS X (10.4.8)  

    I recommend you do number 1 from your list. Then open iPhoto with the option key so you can reselect the correct library folder on your new internal HD.
    You shouldn't need to do any of the other things you mentioned.
    As far as the numbers question 6, have you deleted photos without emptying the iPhoto trash? Try emptying the iPhoto trash and see if the numbers now match.

  • OK to use Aperture to maintain iPhoto Referenced Library

    I have Aperture and iPhoto. We are an OSX and Windows household. But thanks to the Windows 8 debacle, my wife (the diehard Windows user) has abandoned her PC with all regard to photos and videos (viewing, editing, sharing). Now, I use Aperture most of the time, but my wife uses iPhoto 100% of the time. I manage all the imports with Aperture. (I currently have one referenced library that I use in Aperture of all files and a second default iPhoto Library that is managed but only has post-2010 files in it. Both created in their respective programs, if that matters.)
    Coincidentally, we are also at a point where we need to quit adding photos/videos to the PC or we'll exceed its backup capacity.
    Now that she is using the iMac, I would like to get the Library organized and minimize my workflow and eliminate duplication. I do not have enough contiguous disk space for single managed aperture library. I have avoided proceeding because iPhoto and referenced files are not recommended by most of the experts here, for well founded reasons. However, now that both apps can use the same library, and Aperture handles referenced libraries so much better... why not go referenced now? I can leave the pre-2010 files on the PC, and keep all the post-2010 imports on the iMac, all in one Library. The fact that nobody is getting into the files on the PC virtually eliminates all the problems I've had in the past.
    Is there something I'm missing?
    Thanks for any thoughts on this, or hidden gotchas.

    No assuming that you have the latest version of both iPhoto and Aperture so there is total interoperability between them
    LN

  • Problem importing photos to iPhoto Library from flash drive

    When I try to import photos from flash drive into iPhoto library, they seem to import just fine. BUT if I close iPhoto and then return later, the photos I supposedly imported from the flash drive are not in the Library, and a screen prompt tells me the "source is not available". Photos import into Library from digital camera just fine. Why are the photos from my flash drive not staying in the Library? Kinda defeats the purpose of a Library if images won't stay in it. Please help!

    Are you running a Managed or a Referenced Library?
    A Managed Library, is the default setting, and iPhoto copies files into the iPhoto Library when Importing. The files are then stored in the Library package
    A Referenced Library is when iPhoto is NOT copying the files into the iPhoto Library when importing because you made a change at iPhoto -> Preferences -> Advanced. (You unchecked the option to copy files into the Library on import) The files are then stored where ever you put them and not in the Library package. In this scenario you are responsible for the File Management.

  • I've imported an iPhoto library from a disc to my iPhoto 09 account, but I have to leave the disc in to view the pictures in full screen...  Is there a way to import the files to my hard drive?

    I've imported an iPhoto library from a disc to my iPhoto 09 account, but I have to leave the disc in to view the pictures in full screen...  Is there a way to import the files to my hard drive?

    I've imported an iPhoto library from a disc to my iPhoto 09 account,
    What exactly did you do?
    Are you running a Managed or a Referenced Library?
    A Managed Library, is the default setting, and iPhoto copies files into the iPhoto Library when Importing. The files are then stored in the Library package
    A Referenced Library is when iPhoto is NOT copying the files into the iPhoto Library when importing because you made a change at iPhoto -> Preferences -> Advanced. The files are then stored where ever you put them and not in the Library package. In this scenario you are responsible for the File Management.

  • Eclipse plugin 1.1.1

    We are running eclipse 2.1 and want to run weblogic 81. I downloaded (from bea, eclipse plugin 1.1.1) It says that it supports eclipse 2.x. But I get the follwoing error when trying to deploy it.
    was disabled due to missing or disabled prequisite plug-in "org.eclipse.ui.ide"
    Help
    Thanks,
    [email protected]

    The JavaFX 1.2.3 SDK was just released this morning. The Eclipse Plugin still requires the JavaFX 1.2.1 SDK, which you can download from:[http://java.sun.com/javafx/downloads/previous.jsp#1.2.1]. We are updating the document [Getting Started With JavaFX Technology Using Eclipse IDE|http://javafx.com/docs/gettingstarted/eclipse-plugin/index.jsp] to point to the correct download. Thanks!
    Edited by: gchaps on Feb 5, 2010 9:34 AM
    Edited by: gchaps on Feb 5, 2010 9:42 AM

  • NullPointerException in Schematool ANT-Task and Eclipse-plugin

    Hi,
    When running the Schematool from the Eclipse-plugin or from the ANT-task,
    I get a NullPointerException. The ANT-plugin gives a more-or-less usefull
    exception-traceback, the Eclipse-plugin doesn't give any useful hints.
    The funny thing however is that from the commandline it all works!
    The exception from ANT is:
    [schematool] com.solarmetric.kodo.runtime.FatalException: There was an
    error mapping field "operator" of type "class
    com.unisys.nl.ruleengine.rules.CompoundCondition" to a schema.
    [schematool] NestedThrowables:
    [schematool] java.lang.NullPointerException
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.ormapping.Mapping.createMapping(Mapping.java:244)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.ormapping.Mapping.createMappings(Mapping.java:131)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.ormapping.Mapping.createMappings(Mapping.java:86)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.createMappings(SchemaTool.java:831)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.refresh(SchemaTool.java:333)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.refresh(SchemaTool.java:321)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1166)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1102)
    [schematool]      at
    com.solarmetric.modules.integration.ant.SchemaToolTask.executeOn(SchemaToolTask.java:54)
    [schematool]      at
    com.solarmetric.modules.integration.ant.TaskBase.execute(TaskBase.java:118)
    [schematool]      at
    org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
    [schematool]      at org.apache.tools.ant.Task.perform(Task.java:341)
    [schematool]      at org.apache.tools.ant.Target.execute(Target.java:309)
    [schematool]      at
    org.apache.tools.ant.Target.performTasks(Target.java:336)
    [schematool]      at
    org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [schematool]      at
    org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [schematool]      at
    org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569)
    [schematool]      at
    org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367)
    [schematool]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    [schematool]      at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [schematool]      at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [schematool]      at java.lang.reflect.Method.invoke(Method.java:324)
    [schematool]      at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335)
    [schematool]      at
    org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172)
    [schematool]      at java.lang.Thread.run(Thread.java:534)
    [schematool] NestedThrowablesStackTrace:
    [schematool] java.lang.NullPointerException
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.ormapping.StringificationMapping.findMethod(StringificationMapping.java:215)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.ormapping.StringificationMapping.getExternalizer(StringificationMapping.java:123)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.ormapping.StringificationMapping.getExternalizer(StringificationMapping.java:112)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.ormapping.StringificationMapping.install(StringificationMapping.java:105)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.ormapping.Mapping.createMapping(Mapping.java:234)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.ormapping.Mapping.createMappings(Mapping.java:131)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.ormapping.Mapping.createMappings(Mapping.java:86)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.createMappings(SchemaTool.java:831)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.refresh(SchemaTool.java:333)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.refresh(SchemaTool.java:321)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1166)
    [schematool]      at
    com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.main(SchemaTool.java:1102)
    [schematool]      at
    com.solarmetric.modules.integration.ant.SchemaToolTask.executeOn(SchemaToolTask.java:54)
    [schematool]      at
    com.solarmetric.modules.integration.ant.TaskBase.execute(TaskBase.java:118)
    [schematool]      at
    org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
    [schematool]      at org.apache.tools.ant.Task.perform(Task.java:341)
    [schematool]      at org.apache.tools.ant.Target.execute(Target.java:309)
    [schematool]      at
    org.apache.tools.ant.Target.performTasks(Target.java:336)
    [schematool]      at
    org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [schematool]      at
    org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [schematool]      at
    org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569)
    [schematool]      at
    org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367)
    [schematool]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    [schematool]      at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [schematool]      at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [schematool]      at java.lang.reflect.Method.invoke(Method.java:324)
    [schematool]      at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335)
    [schematool]      at
    org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172)
    [schematool]      at java.lang.Thread.run(Thread.java:534)
    [schematool] BUILD FAILED:
    file:C:/java/eclipse/workspace/EclipseProject/build.xml:84:
    com.solarmetric.kodo.runtime.FatalException: There was an error mapping
    field "operator" of type "class
    com.unisys.nl.ruleengine.rules.CompoundCondition" to a schema.
    NestedThrowables:
    java.lang.NullPointerException
    The .jdo file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <jdo>
    <package name="com.unisys.nl.ruleengine.rules">
    <class name="Condition">
         <extension vendor-name="kodo" key="table" value="condition"/>
         </class>
    <class name="ConditionDummyPlaceHolder"
    persistence-capable-superclass="Condition">
         <field name="m_condition">
    <extension vendor-name="kodo" key="data-column"
    value="condition"/>
              <extension vendor-name="kodo" key="dependent" value="true"/>
         </field>
    </class>
    <class name="AtomicCondition"
    persistence-capable-superclass="Condition">
                   <field name="lefthand">
    <extension vendor-name="kodo" key="dependent"
    value="true"/>
                   </field>
         <field name="operator">
              <extension vendor-name="kodo" key="externalizer"
    value="toString"/>
              <extension vendor-name="kodo" key="factory"
    value="getOperatorWithSymbol"/>
         </field>
                   <field name="righthand">
    <extension vendor-name="kodo" key="dependent"
    value="true"/>
                   </field>
    </class>
    <class name="CompoundCondition"
    persistence-capable-superclass="Condition">
    <field name="subConditions">
    <collection
    element-type="com.unisys.nl.ruleengine.rules.Condition"/>
    <extension vendor-name="kodo" key="element-dependent"
    value="true"/>
    <extension vendor-name="kodo" key="ordered" value="true"/>
    </field>
         <field name="operator">
              <extension vendor-name="kodo" key="externalizer"
    value="toString"/>
              <extension vendor-name="kodo" key="factory"
    value="getOperatorWithSymbol"/>
         </field>
    </class>
    <class name="ConditionValue">
         <extension vendor-name="kodo" key="table"
    value="condition_value"/>
    </class>
    <class name="DerivedValue"
    persistence-capable-superclass="ConditionValue">
         <field name="valueProperty">
              <extension vendor-name="kodo" key="dependent" value="true"/>
         </field>
    </class>
    <class name="SimpleValue"
    persistence-capable-superclass="ConditionValue"/>
    <class name="Rule" persistence-capable-superclass="RuleSetElement">
         <extension vendor-name="kodo" key="table" value="rule"/>
         <field name="context">
              <extension vendor-name="kodo" key="dependent" value="false"/>
         </field>
         <field name="condition">
              <extension vendor-name="kodo" key="dependent" value="true"/>
         </field>
         <field name="comment">
    <extension vendor-name="kodo" key="column-length"
    value="-1"/>
    </field>
         </class>
    <class name="RuleSet"
    persistence-capable-superclass="RuleSetElement">
         <extension vendor-name="kodo" key="table" value="ruleset"/>
    <field name="rules">
    <collection
    element-type="com.unisys.nl.ruleengine.rules.RuleSetElement"/>
    <extension vendor-name="kodo" key="element-dependent"
    value="true"/>
    </field>
    </class>
    <class name="RuleSetElement">
         <extension vendor-name="kodo" key="table"
    value="ruleset_element"/>
    </class>
    </package>
    </jdo>
    Any pointers what I'm doing wrong here?
    (Another data-point: when I moved the sources to the laptop of a collegue,
    and we try to generate the schema there, the plugin complains about not
    having any JDO metadata available for the class RelationOperator - which
    is the type of the field 'operator' that gives the NPE.
    I'm using KODO-JDO 2.5.0RC2)
    --Tim

    Tim-
    This seems to be a problem with ClassLoader interactions; it will be
    fixed for the next 2.5 RC (or final release). Thanks for pointing it
    out.
    In article <bbngrl$j47$[email protected]>, Tim van der Leeuw wrote:
    >
    Hi,
    When running the Schematool from the Eclipse-plugin or from the ANT-task,
    I get a NullPointerException. The ANT-plugin gives a more-or-less usefull
    exception-traceback, the Eclipse-plugin doesn't give any useful hints.
    The funny thing however is that from the commandline it all works!--
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Restore referenced library

    I'm trying to move a referenced iPhoto Library to an external drive.
    Has anyone tried restoring a referenced iPhoto Library form a Time Machine backup?
    Will it keep the references and description info?

    I'm trying to move a referenced iPhoto Library to an external drive.
    You can't unless you can Hack SQLite or upgrade to the latest version of the OS and iPhoto and purchase Aperture - one (of the many) reasons that a referenced library is strongly not recommended is that there is no suppoted way to change the path to the referenced library
    Has anyone tried restoring a referenced iPhoto Library form a Time Machine backup?
    Will it keep the references and description info?
    That is not a problem as long as the path to the referenced photos has not changed - it it has then you can not - see above
    For more information on the many reasons NOT to have a referenced library see the User tip on iPhoto and file management
    LN

  • How do I migrate old iPhoto Library from Mac to new MBA?

    Attempted to move iPhoto library from old Mac to MBA by coping file to external drive.  Copy only gets halfway done then stops with message that some items cannot be copyed.  Help.

    How is your external drive formatted? This problem usually occurs, if you are copying from/to a drive that is not formatted Mac OS X Extended, and usually, if your Photo Library contains files with filename that include national characters, like äöüé, etc.
    If your drive is still the default MS-DOS (FAT) reformat it using Disk Utility, and then try again to copy.
    If this does nor help, look at the part of your Photo Library, that has been copied. You can open the library by ctrl-clicking it in the Finder, then select "Show Package Contents". From the files that have been copied, try to figure out, which file would have been copied next and causes the error. Check, if you can open it in Preview or another program. Look, if the filename contains non-standard characters.
    Regards
    Léonie

Maybe you are looking for

  • Safari 3.04 Beta and Windows Vista SP1 Beta

    I recently had to re-install my system because of a hardware problem. After I installed Vista Ultimate I then installed Vista Ultimate SP1 Beta. Previously I had just Windows Vista installed without SP1 and Safari worked. Now that I have installed SP

  • Not able to access Internet or Internal network via SSL AnyConnect

    After connecting succesfully with Cisco AnyConnect version 3.0.05152 I am unable to access internal resources. Below is the configuration of the ASA. Any input on the below would be appreciated =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.02.04 16:15:58 =~

  • Equipment not updated in all tables properly

    Hi Friends Equipment was updated in EQUI table with limited data only and not updated in other tables EQKT, EQUZ. When I go through the IE03, there I am unable to find the equipment. Material and serial number provides the equipment, I know it, but i

  • Exchange 2010 DAG backup & Transaction logs

    Hi,  What is Microsoft recommended best practise for Exchange DAG group backup in an environment where there are Active & multiple (2-3) passive copies of the databases? Is it a good practice to backup transaction logs as frequently as possible in ad

  • Client windows 2000 xp sur serveur linux

    comment connecter un client window xp ou 2000 oracle 9i sur un serveur linux mandrake 8.1 j'ai installer le client 9i pour windows sur la machine cliente mais il me manque des norion pour utiliser net assistant et je n'arrive pas non plus vec ODBC