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 54128 - Classpath for Web Pages
Summary: Classpath for Web Pages
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Freeform (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords: UI
Depends on:
Blocks: 52753
  Show dependency tree
 
Reported: 2005-01-28 09:15 UTC by zikmund
Modified: 2006-03-24 12:47 UTC (History)
2 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 zikmund 2005-01-28 09:15:24 UTC
Build 200501271900

Classpath can be set only for source folders, not
for Web Pages as it is mentioned in UI spec. It
should be placed in Wizard (see
http://projects.netbeans.org/buildsys/freeform-project-ui-spec-promoe.html#Step_6_Web_Classpath)
and in Customizer.

Customizer UI spec
(http://projects.netbeans.org/buildsys/freeform-project-ui-spec-promoe.html#Classpath)
doesn't contain this information and the name
should be 'Web Pages' in the list box instead of
'web' to be consistent with Logic view.
Jano, could you update UI spec please?
Comment 1 Petr Jiricka 2005-01-31 10:51:07 UTC
Is this actually necessary to set classpath for web pages? This will
increase the manual effort needed to set up the project, and may
confuse users, in addition to being error-prone.

Petre P., is this really needed in the editor? Or could the editor
determine the classpath in another way?
Comment 2 Petr Pisl 2005-03-01 16:56:52 UTC
This is only about freeform. There is one step in the wizard, where
user can add jars, projects or folder for a specific java source
folder on classpath. I don't know, why the user should specify for
example  jstl.jar and standard.jar or a jar file, which contains only
tag files as library, for  java root util/src? This is not logical.
Yes, user can define "global" classpath when the check box "Separate
Classpath for Each Source package folder" will be unchecked in project
properties. But then everything has to be propagated on the classpath
of web root as well.

On the other hand, we have this separation of classpath in the
project. Different classpath for web root and for every java source.
User can define it by hand in the project.xml, but this is more
workaround.  There is only missing UI to be defined it.

I'm able to get all jars, projects and folders, which are defined for
compiling the java roots in the editor. The algorithm is simple. Get
compile classpath for webroot (there should be all java roots, but see
issue  #55702) and find compiling classpath for these java roots and
mix all results together. But as I write above, it doesn't seem to me
very logical.
Comment 3 John Jullion-ceccarelli 2005-03-10 10:10:34 UTC
Adding UI keyword, please use this keyword for all UI issues.
Comment 4 Petr Pisl 2005-03-18 14:31:46 UTC
I commited the changes in the trunk. The UI spec is updated by Jirka Kopsa. 
Comment 5 zikmund 2005-03-31 11:52:08 UTC
Verified in 200503301800.