This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 82600 - Build Mac OS X application fails on windows
Summary: Build Mac OS X application fails on windows
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: rmichalsky
URL:
Keywords:
Depends on:
Blocks: 64605
  Show dependency tree
 
Reported: 2006-08-14 10:44 UTC by Tomas Danek
Modified: 2009-12-21 05:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2006-08-14 10:44:04 UTC
since windows does not have anything like "ln" on unix.
...
...
...
Copying 85 files to C:\Documents and Settings\Tomas Musil\My
Documents\NetBeansProjects\PaintApp123\dist\paintit.app\Contents\Resources\paintit
Copying 23 files to C:\Documents and Settings\Tomas Musil\My
Documents\NetBeansProjects\PaintApp123\dist\paintit.app\Contents\Resources\paintit\paintit
ln -s ../Resources/paintit/bin/paintit C:\Documents and Settings\Tomas Musil\My
Documents\NetBeansProjects\PaintApp123/dist/paintit.app/Contents/MacOS/paintit
C:\Sw\netbeans 6.0\netbeans\harness\suite.xml:205: Could not launch ln:
java.io.IOException: Cannot run program "ln": CreateProcess error=2, The system
cannot find the file specified
BUILD FAILED (total time: 17 seconds)


Steps to reproduce:
invoke Build Mac OS X application on Paintapp suite


NetBeans IDE Dev (Build 200608131800)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b94
Windows XP version 5.1 running on x86
en_US (nb); Cp1252
Comment 1 Jesse Glick 2006-08-14 17:33:39 UTC
Folder structure seems to need a symlink. Can it avoid using a symlink here,
e.g. copy instead? Why are there two copies of the ${app.name} launcher script
anyway?

Downgrading priority since I doubt that creating a Mac app on a non-Mac machine
is a common use case.
Comment 2 Milos Kleint 2006-08-15 06:52:02 UTC
can we just show the action on MacOS platform?
Comment 3 lordy 2006-08-15 11:46:57 UTC
Maybe we can generate a zip. Also replace the symbol link with the real file should be possible. I will check 
both solution.
Comment 4 Milos Kleint 2008-10-06 07:24:38 UTC
reassigning to component owner.
Comment 5 rmichalsky 2008-11-22 20:30:37 UTC
Will hide the action on other platforms.
Comment 6 Quality Engineering 2009-12-21 05:26:32 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team