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.
Summary: | App that depends on ide7 cluster modules fails to start | ||
---|---|---|---|
Product: | apisupport | Reporter: | Nathan Fiedler <nlfiedler> |
Component: | Harness | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED WORKSFORME | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Test module that demonstrates problem |
Description
Nathan Fiedler
2006-12-20 20:46:35 UTC
Created attachment 36855 [details]
Test module that demonstrates problem
Are you really sure that it is our bug? I removed two lines in build.xml: <property file="build.properties"/> <import file="default-properties.xml"/> Building of project seems to be working. If project points to wrong platform you can change it in customizer of project. I'm afraid I do not follow what your build script is doing, or even what properties I am supposed to edit, or what exactly they should point to. The script looks like it will modify my NB installations but I cannot really tell. Nor am I sure why I am supposed to be editing paths to NB installations when prepare.xml seems to be downloading the NB platform anyway...? If I have it installed locally then I do not need to download it. Your prepare.xml hardcodes a cluster name which changed from 5.0 to 5.5, so I would hardly expect it to work identically. I don't really follow why you wrote all this, anyway, unless it is because you started in NB 4.1. If you just make a regular module suite, you can pick which clusters to include (and which modules within those clusters), all through the IDE's GUI. I entered this bug because I saw a change in behavior and I thought I would do you a favor and let you know about it. Scott Kaylie had the same problem as I, and asked a question on nbdev, but no one answered him. He and I came to the conclusion that there must be a bug in NB. Jesse: This build process was developed before apisupport had gotten its overhaul. Since my process seems to fall outside the realm of understanding, and because I have developed a much simpler process that relies on the new apisupport (with scripts to work-around the backward module enable ui, and to package a distributable that contains only what I need), I no longer care about this problem. If you don't care either, then it can be closed. BTW, hard-coding the cluster name works perfectly fine. I had left it that way to make the example as simple as I could. Clearly it was not simple enough. Petr: commenting those two lines of the build.xml renders the entire build process null and void. Unless you had tried to build an application based on NB Platform with some IDE modules during version 4.1, you will never understand the problem. If some portion of the apisupport harness fails to behave as documented, that is a bug we want to fix. However I am unable to follow your instructions as currently given. Forgot to explain something else: the reason for this script is that it was to fill in the missing pieces of the apisupport at the time. It provided support for JavaHelp, JUnit tests, assembled the clusters and modules that I needed, and provided an easy means of creating the distributable (just zip up the installation that it creates). The way the script works, it assumes that you do _not_ have an installation of NB. It downloads the NB IDE source, builds the Platform, then builds the IDE modules and copies those that it needs to the new installation. By building the IDE from source, I get JavaHelp and JUnit for free. I hope that makes sense. I know that to developing modules against nb41 is very difficult. I did it with workaround. I made symbolic links to structure of netbeans cvs. I was happy that Jessy developed Module suites. I recreated all my modules from scratch in module suite and only copied sources and nbproject/project.xml to new layout. > 3 weeks, no new information. Reopen if you have any.
|