Menu

Getting started developing on Mac OSX

2015-04-11
2015-04-15
  • Jacob Lyles

    Jacob Lyles - 2015-04-11

    Freemind seems like the perfect tool for my needs. Unfortunately, bug #1204
    http://sourceforge.net/p/freemind/bugs/1204/ makes freemind virtually
    unusable on my mac system. As I'm a software engineer by trade, I thought
    I'd dive in and be the change I want to see in the world.

    Unfortunately, I am having trouble building the repo on mac. I'm running
    OSX 10.10.3 and the following Java:

    $ java -version
    java version "1.7.0_71"
    Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
    Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

    I run ant runmac in the freemind repository, and I get the following
    stacktrace:

    BUILD FAILED
    /Users/jlyles/code/freemind/freemind/build.xml:272: The following error
    occurred while executing this line:
    /Users/jlyles/code/freemind/freemind/build.xml:295:
    java.nio.file.NoSuchFileException:
    /Users/jlyles/code/freemind/freemind/Info.plist
    at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
    at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:520)
    at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253)
    at java.nio.file.Files.copy(Files.java:1227)
    at com.oracle.appbundler.AppBundlerTask.copy(AppBundlerTask.java:566)
    at com.oracle.appbundler.AppBundlerTask.copyRuntime(AppBundlerTask.java:357)
    at com.oracle.appbundler.AppBundlerTask.execute(AppBundlerTask.java:290)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at
    org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    at
    org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at
    org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
    at
    org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    at org.apache.tools.ant.Main.runBuild(Main.java:851)
    at org.apache.tools.ant.Main.startAnt(Main.java:235)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

    Any advice on how to fix?

     
  • Christian Foltin

    Hi,

    are you on the Branch 1.1.0?

    BR, Chris

     
  • Christian Foltin

    Hi,

    I don't have the Info.plist on my host....
    Please, try ant clean, or even better, a new git clone and report here.

    HTH, Chris

     

Log in to post a comment.