Web module support

0
7 comments
Avatar
Permanently deleted user

Yes Alexey, that would be excellent.

One caveate: The merged web resource directories should also be used for
resolving resources within the editor.

For example: I reference a common error.jsp page from all of my jsp's:
<%@ page errorPage="/errorHandler/error.jsp"%>
"/errorHandler/error.jsp" would be in the other module that this module
depends on. The editor would need to be able to resolve the reference to
it. There are also common taglib references, etc.

Thnx,

Tim Haley

"Alexey Kudravtsev (JetBrains)" <cdr@intellij.com> wrote in message
news:bur2du$ega$1@is.intellij.net...

We are thinking about allowing web module depend on another web module.

That way, web resource directories,classes and libraries

will be merged during make.
Will that suit your setup ?

>

Could you please move the discussion into the j2ee group ?
--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>

"Tim Haley" <ymaraner@yahoo.com> wrote in message

news:bumtku$gii$1@is.intellij.net...

The way that our development environment is set up, each module

essentially

extends a common base module that contains JSPs, Servlets, TagLibs,

other

resources, and Java source code. This is implemented by having a common
module that is included in each of the web modules.

>

The IDEA functionality described by Alexey makes that not work if you

try to

work on multiple extended Web modules within the same project.

>

I have tried to work around this by having each extended Web module

depend

on a base Web module but the web roots are not merged. Is there planned
support for this type of development environment in the near future?

>

Thanks,

>

Tim

>

"Alexey Kudravtsev (JetBrains)" <cdr@intellij.com> wrote in message
news:bue363$o30$1@is.intellij.net...

Two modules should not share their roots - otherwise one of the

conflicting roots will be excluded from another module.

What prevents you from having just one web module with the source root

in

your "src" folder ?
>

--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>

"Anton Dekusar" <anton.dekusar@visiprise.com> wrote in message

news:bu6jj4$m18$1@is.intellij.net...

Hi there

>

I'm using build 1101 and i'd like to use tag-lib code assist in JSP

editor.

I have 2 modules: the main module and the web module. Unfortunately

both

of

them have the same source path - suppose i have "src" folder so all

java

classes (com/....), jsps and WEB-INF folder are located in this

source

folder. I have some strange effects in the project window - there

are no

sources in the web module in the project tab. Next I do not have

code

assist

for all custom taglibs, all tags are red but tag library definition

files

are present and located in the appropriate folders. This really

pisses

me

off. What am i doing wrong?

>

--
Anton Dekusar

>
>

>
>

>
>

>
>


0
Avatar
Permanently deleted user

Any chance of this getting into 4.0?

Do I need to submit a feature request, or is it alread in the works?

Thanks,
Tim

"Tim Haley" <ymaraner@yahoo.com> wrote in message
news:burq3k$and$1@is.intellij.net...

Yes Alexey, that would be excellent.

>

One caveate: The merged web resource directories should also be used for
resolving resources within the editor.

>

For example: I reference a common error.jsp page from all of my jsp's:
<%@ page errorPage="/errorHandler/error.jsp"%>
"/errorHandler/error.jsp" would be in the other module that this module
depends on. The editor would need to be able to resolve the reference to
it. There are also common taglib references, etc.

>

Thnx,

>

Tim Haley

>

"Alexey Kudravtsev (JetBrains)" <cdr@intellij.com> wrote in message
news:bur2du$ega$1@is.intellij.net...

We are thinking about allowing web module depend on another web module.

That way, web resource directories,classes and libraries

will be merged during make.
Will that suit your setup ?

>

Could you please move the discussion into the j2ee group ?
--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>

"Tim Haley" <ymaraner@yahoo.com> wrote in message

news:bumtku$gii$1@is.intellij.net...

The way that our development environment is set up, each module

essentially

extends a common base module that contains JSPs, Servlets, TagLibs,

other

resources, and Java source code. This is implemented by having a

common

module that is included in each of the web modules.

>

The IDEA functionality described by Alexey makes that not work if you

try to

work on multiple extended Web modules within the same project.

>

I have tried to work around this by having each extended Web module

depend

on a base Web module but the web roots are not merged. Is there

planned

support for this type of development environment in the near future?

>

Thanks,

>

Tim

>

"Alexey Kudravtsev (JetBrains)" <cdr@intellij.com> wrote in message
news:bue363$o30$1@is.intellij.net...

Two modules should not share their roots - otherwise one of the

conflicting roots will be excluded from another module.

What prevents you from having just one web module with the source

root

in

your "src" folder ?
>

--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>

"Anton Dekusar" <anton.dekusar@visiprise.com> wrote in message

news:bu6jj4$m18$1@is.intellij.net...

Hi there

>

I'm using build 1101 and i'd like to use tag-lib code assist in

JSP

editor.

I have 2 modules: the main module and the web module.

Unfortunately

both

of

them have the same source path - suppose i have "src" folder so

all

java

classes (com/....), jsps and WEB-INF folder are located in this

source

folder. I have some strange effects in the project window - there

are no

sources in the web module in the project tab. Next I do not have

code

assist

for all custom taglibs, all tags are red but tag library

definition

files

are present and located in the appropriate folders. This really

pisses

me

off. What am i doing wrong?

>

--
Anton Dekusar

>
>

>
>

>
>

>
>

>
>


0
Avatar
Permanently deleted user

http://www.intellij.net/tracker/idea/viewSCR?publicId=24747

We willl implement this in IDEA 4.1

--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


"Tim Haley" <ymaraner@yahoo.com> wrote in message news:bvbkb9$m0g$1@is.intellij.net...

Any chance of this getting into 4.0?

>

Do I need to submit a feature request, or is it alread in the works?

>

Thanks,
Tim

>

"Tim Haley" <ymaraner@yahoo.com> wrote in message
news:burq3k$and$1@is.intellij.net...

Yes Alexey, that would be excellent.

>

One caveate: The merged web resource directories should also be used for
resolving resources within the editor.

>

For example: I reference a common error.jsp page from all of my jsp's:
<%@ page errorPage="/errorHandler/error.jsp"%>
"/errorHandler/error.jsp" would be in the other module that this module
depends on. The editor would need to be able to resolve the reference to
it. There are also common taglib references, etc.

>

Thnx,

>

Tim Haley

>

"Alexey Kudravtsev (JetBrains)" <cdr@intellij.com> wrote in message
news:bur2du$ega$1@is.intellij.net...

We are thinking about allowing web module depend on another web module.

That way, web resource directories,classes and libraries

will be merged during make.
Will that suit your setup ?

>

Could you please move the discussion into the j2ee group ?
--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>

"Tim Haley" <ymaraner@yahoo.com> wrote in message

news:bumtku$gii$1@is.intellij.net...

The way that our development environment is set up, each module

essentially

extends a common base module that contains JSPs, Servlets, TagLibs,

other

resources, and Java source code. This is implemented by having a

common

module that is included in each of the web modules.

>

The IDEA functionality described by Alexey makes that not work if you

try to

work on multiple extended Web modules within the same project.

>

I have tried to work around this by having each extended Web module

depend

on a base Web module but the web roots are not merged. Is there

planned

support for this type of development environment in the near future?

>

Thanks,

>

Tim

>

"Alexey Kudravtsev (JetBrains)" <cdr@intellij.com> wrote in message
news:bue363$o30$1@is.intellij.net...

Two modules should not share their roots - otherwise one of the

conflicting roots will be excluded from another module.

What prevents you from having just one web module with the source

root

in

your "src" folder ?
>

--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>

"Anton Dekusar" <anton.dekusar@visiprise.com> wrote in message

news:bu6jj4$m18$1@is.intellij.net...

Hi there

>

I'm using build 1101 and i'd like to use tag-lib code assist in

JSP

editor.

I have 2 modules: the main module and the web module.

Unfortunately

both

of

them have the same source path - suppose i have "src" folder so

all

java

classes (com/....), jsps and WEB-INF folder are located in this

source

folder. I have some strange effects in the project window - there

are no

sources in the web module in the project tab. Next I do not have

code

assist

for all custom taglibs, all tags are red but tag library

definition

files

are present and located in the appropriate folders. This really

pisses

me

off. What am i doing wrong?

>

--
Anton Dekusar

>
>

>
>

>
>

>
>

>
>

>
>


0
Avatar
Permanently deleted user

Fantastic. Hopefully this will be yet another nail in JBuilder's coffin.

--
Norris Shelton
Sun Certified Java Programmer


"Alexey Kudravtsev (JetBrains)" <cdr@intellij.com> wrote in message
news:bvd8i2$g09$1@is.intellij.net...

http://www.intellij.net/tracker/idea/viewSCR?publicId=24747

>

We willl implement this in IDEA 4.1

>

--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>

"Tim Haley" <ymaraner@yahoo.com> wrote in message

news:bvbkb9$m0g$1@is.intellij.net...

Any chance of this getting into 4.0?

>

Do I need to submit a feature request, or is it alread in the works?

>

Thanks,
Tim

>

"Tim Haley" <ymaraner@yahoo.com> wrote in message
news:burq3k$and$1@is.intellij.net...

Yes Alexey, that would be excellent.

>

One caveate: The merged web resource directories should also be used

for

resolving resources within the editor.

>

For example: I reference a common error.jsp page from all of my jsp's:
<%@ page errorPage="/errorHandler/error.jsp"%>
"/errorHandler/error.jsp" would be in the other module that this

module

depends on. The editor would need to be able to resolve the reference

to

it. There are also common taglib references, etc.

>

Thnx,

>

Tim Haley

>

"Alexey Kudravtsev (JetBrains)" <cdr@intellij.com> wrote in message
news:bur2du$ega$1@is.intellij.net...

We are thinking about allowing web module depend on another web

module.

That way, web resource directories,classes and libraries

will be merged during make.
Will that suit your setup ?

>

Could you please move the discussion into the j2ee group ?
--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>

"Tim Haley" <ymaraner@yahoo.com> wrote in message

news:bumtku$gii$1@is.intellij.net...

The way that our development environment is set up, each module

essentially

extends a common base module that contains JSPs, Servlets,

TagLibs,

other

resources, and Java source code. This is implemented by having a

common

module that is included in each of the web modules.

>

The IDEA functionality described by Alexey makes that not work if

you

try to

work on multiple extended Web modules within the same project.

>

I have tried to work around this by having each extended Web

module

depend

on a base Web module but the web roots are not merged. Is there

planned

support for this type of development environment in the near

future?

>

Thanks,

>

Tim

>

"Alexey Kudravtsev (JetBrains)" <cdr@intellij.com> wrote in

message

news:bue363$o30$1@is.intellij.net...

Two modules should not share their roots - otherwise one of the

conflicting roots will be excluded from another module.

What prevents you from having just one web module with the

source

root

in

your "src" folder ?
>

--
regards,
Alexey Kudravtsev
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>

"Anton Dekusar" <anton.dekusar@visiprise.com> wrote in message

news:bu6jj4$m18$1@is.intellij.net...

Hi there

>

I'm using build 1101 and i'd like to use tag-lib code assist

in

JSP

editor.

I have 2 modules: the main module and the web module.

Unfortunately

both

of

them have the same source path - suppose i have "src" folder

so

all

java

classes (com/....), jsps and WEB-INF folder are located in

this

source

folder. I have some strange effects in the project window -

there

are no

sources in the web module in the project tab. Next I do not

have

code

assist

for all custom taglibs, all tags are red but tag library

definition

files

are present and located in the appropriate folders. This

really

pisses

me

off. What am i doing wrong?

>

--
Anton Dekusar

>
>

>
>

>
>

>
>

>
>

>
>

>
>


0

Hi!
How do i configure my project and modules with 4.0 then if our web app structure is the like:
-

folder holding jsps
-

folder holding xml files for web app config
- different web.xml for different configurations (e.g. differences in contextParams in the deployment descriptor)

Each web app (represented through the different web.xml) will be a Web App Module in IDEA. But i simply cannot include the single jsp folder in all of the Web App Modules so that they get deployed for all my Web App Modules. What do i miss?

thomas

0
Avatar
Permanently deleted user

Thomas Achleitner wrote:

Hi!
How do i configure my project and modules with 4.0 then if our web app structure is the like:
-


folder holding jsps
-


folder holding xml files for web app config
- different web.xml for different configurations (e.g. differences in contextParams in the deployment descriptor)

Each web app (represented through the different web.xml) will be a Web App Module in IDEA. But i simply cannot include the single jsp folder in all of the Web App Modules so that they get deployed for all my Web App Modules. What do i miss?

thomas


Thomas, look for a post I put up in this forum that has an attachment
for advanced project seutp. I have your config above, and the sample
project shows that.

R

0

HI Robert! Thanks for the reply!

Well, i had a look at your complex setup before. It helped me a lot. The problem i had with my configuration was that i have been confused by a minor bug (i think it is a bug, see my request http://www.intellij.net/tracker/idea/viewSCR?publicId=28889) and therefore were not able to add web resource directories at the first tries. Now that i am aware of this everything works fine.

thanks, thomas

0

Please sign in to leave a comment.