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 64575 - [50cat] branding application: default_userdir Mac OS X JNLP
Summary: [50cat] branding application: default_userdir Mac OS X JNLP
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P2 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-16 21:40 UTC by lordy
Modified: 2005-10-21 21:30 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
patch of apisupport/harness/release/jnlp.xml (813 bytes, patch)
2005-10-21 16:35 UTC, lordy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description lordy 2005-09-16 21:40:07 UTC
[ BUILD # : 200509151800 ]
[ JDK VERSION : 1.5.0_02 ]

Try feedreader-suite example, and "run JLNP Application". When 
running the generated application it creates a folder ${HOME}/.$
{APPNAME}/dev.

On Mac OS X it should be ${HOME}/Library/Application 
Support/.$
{APPNAME}/dev.

Solution add to dist/jnlp/local/master.jnlp:
  <resources os="Mac OS X"> 
    <property name="netbeans.user" value="${user.home}/
Library/Application Support/feedreader"/>
  </resource>
Comment 1 Jesse Glick 2005-09-16 21:58:17 UTC
Leave to Yarda to do this one. Should be a simple patch to jnlp.xml but I don't
know exactly where in the script <resources> should be appended.
Comment 2 lordy 2005-09-19 13:46:01 UTC
need to be appended after </resource>
Comment 3 lordy 2005-10-21 16:35:41 UTC
Created attachment 26227 [details]
patch of apisupport/harness/release/jnlp.xml
Comment 4 lordy 2005-10-21 16:38:08 UTC
check out my patch. It works fine by me. Only by <target name="jnlp-init-generate-master" depends="-
check-for-master.jnlp" unless="master.jnlp.exists"> the unless="master.jnlp.exists" make problems by 
test it.
Comment 5 Jaroslav Tulach 2005-10-21 21:30:08 UTC
"#64575: Applying patch for different user dir on Mac OS X, seems to  
have no effect on other systems"  
  
  
Checking in release/jnlp.xml;  
/cvs/apisupport/harness/release/jnlp.xml,v  <--  jnlp.xml  
new revision: 1.20; previous revision: 1.19