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 217691 - Update SB integration for SB 1.1
Summary: Update SB integration for SB 1.1
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Visual Tool Integration (show other bugs)
Version: 7.3
Hardware: PC All
: P3 normal (vote)
Assignee: Petr Somol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-31 17:51 UTC by svienot
Modified: 2012-10-22 08:28 UTC (History)
3 users (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 svienot 2012-08-31 17:51:11 UTC

    
Comment 1 svienot 2012-08-31 17:55:21 UTC
Scene Builder integration module needs the following changes for SB 1.1:

* ability to find Scene Builder 1.1 and use it in priority over 1.0 if both are installed.
   * this includes the fact that SB 1.1 layout on file system will not be identical to that of SB 1.0, 
     due to the fact that SB 1.1 packaging will be based on javafxpackager.
   * this also includes the fact that SB 1.1 only provides a 32-bit distribution, 
     so on a 64-bit machine, it would be installed by default under C:\Program Files (x86)\, 
     while SB 1.0 may be under C:\Program Files\
   
* support for linux, since SB 1.1 will be available on linux in addition to windows and macos
   * this involves agreeing on the default location where NB 7.3 will find SB 1.1 in the file system
      (not yet defined today)

The corresponding installation spec is still evolving on the SB 1.1 side, so we may update this entry as more information becomes available.
Comment 2 Petr Somol 2012-09-07 13:25:58 UTC
fixed in jetmain
http://hg.netbeans.org/jet-main/rev/d7347d672cf6

with the exception of Linux detection which as stated in Comment #1 has not yet been specified.

I guess the above changeset would be suitable for inclusion in next NB 7.2 patch. For that reason I am closing this issue so that QA can evaluate. Please when the Linux spec becomes available, either create a new issue or reopen this one.
Comment 3 Quality Engineering 2012-09-08 02:06:34 UTC
Integrated into 'main-golden', will be available in build *201209080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d7347d672cf6
User: Petr Somol <psomol@netbeans.org>
Log: #217691 - Update SB integration for SB 1.1 (Win, Mac)
Comment 4 yjoan 2012-09-24 13:00:06 UTC
Please address the interop with SceneBuilder on Linux according the details below.

SceneBuilder 1.1 on Linux is available as a tarball and an rpm.
NetBeans cannot guess where the user will extract the tarball's content.
However when one set an SB root dir within NB Options then the structure below (extract) can be recognized by NetBeans:

JavaFXSceneBuilder1.1/
JavaFXSceneBuilder1.1/app/
JavaFXSceneBuilder1.1/app/scenebuilder.properties
JavaFXSceneBuilder1.1/JavaFXSceneBuilder1.1 (the executable to call)
JavaFXSceneBuilder1.1/runtime/

If the user installs SceneBuilder thanks the rpm then the same structure might be found from the default install dir which is /opt. NB can safely seek for it.
Comment 5 Petr Somol 2012-10-04 09:56:07 UTC
added Linux support according to Comment #4:
http://hg.netbeans.org/jet-main/rev/14ba95014d03

Now SB is set up on Linux automatically if SB1.1+ is installed
under /opt or under /home/user.
If it is installed elsewhere, manual set up now works.
Comment 6 Quality Engineering 2012-10-05 02:02:02 UTC
Integrated into 'main-golden', will be available in build *201210050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/14ba95014d03
User: Petr Somol <psomol@netbeans.org>
Log: #217691 - Update SB integration for SB 1.1 (on Linux)
Comment 7 Petr Somol 2012-10-08 09:11:46 UTC
transplanted to release72 branch:
d7347d672cf6 transplanted to 0ed4d796efe4
14ba95014d03 transplanted as 10c229052e1a
Comment 8 Quality Engineering 2012-10-10 14:17:11 UTC
Integrated into 'releases', will be available in build *201210100934* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/0ed4d796efe4
User: Petr Somol <psomol@netbeans.org>
Log: #217691 - Update SB integration for SB 1.1 (Win, Mac)
Comment 9 Stepan Zebra 2012-10-15 12:00:31 UTC
verified in 7.2.1, minor bug on Linux - issue 220109
Comment 10 Stepan Zebra 2012-10-22 08:28:54 UTC
*** Bug 220532 has been marked as a duplicate of this bug. ***