project/module hierarchy
I have a /project directory with one or more /module directories
underneath (almost always web modules). When I create a module, it
defaults to place the module iml file in /module. This also servers as
my content root.
/project
/module
module.iml
/WEB-INF
/lib
In other words, /module is my content root. This causes the module file
to be deployed.
Is there a "better" way (really hate the idea of having to create a
directory under /module, but it won't kill me) or should I submit a
request to get the structure changed?
BTW, I put all my project and module files under /project.
See http://www.intellij.net/tracker/viewSCR?threadId=87588
and the IntelliJ reply.
--
Norris Shelton
Sun Certified Java Programmer
请先登录再写评论。
I think that the way you do it is OK, it's ONE of the ways to do it. I
think the issue is that IDEA itself should just not be deploying .iml files
to the exploded dir. That's a bug as far as I'm concerned.
What we need is a way to exclude certain file types also.
R
On 6/3/04 9:33 AM, in article c9n9bl$e0m$1@is.intellij.net, "Norris Shelton"
<i.hate.spam@yahoo.com> wrote:
OK, you piqued my interest. I created
/project
project.ipr
project.iws
/module
module.iml
/WEB-INF
web.xml
I deployed it and the module.iml was *NOT *deployed, but it does still
show in the Deployment View. I guess this is OK (other than the
deployment view bug), but I don't like that it has to be there. What if
one of my less astute JBuilder using co-workers pulls down the project
and deploys it. I'm sure it's going to get deployed.
I bet we can ignore the file, but will this prevent it from being
checked into cvs?
Norris Shelton
Sun Certified Java Programmer
Robert Sfeir wrote:
>I think that the way you do it is OK, it's ONE of the ways to do it. I
>think the issue is that IDEA itself should just not be deploying .iml files
>to the exploded dir. That's a bug as far as I'm concerned.
>
>What we need is a way to exclude certain file types also.
>
>R
>
>
>On 6/3/04 9:33 AM, in article c9n9bl$e0m$1@is.intellij.net, "Norris Shelton"
><i.hate.spam@yahoo.com> wrote:
>
>
>>I have a /project directory with one or more /module directories
>>underneath (almost always web modules). When I create a module, it
>>defaults to place the module iml file in /module. This also servers as
>>my content root.
>>/project
>> /module
>> module.iml
>> /WEB-INF
>> /lib
>>
>>In other words, /module is my content root. This causes the module file
>>to be deployed.
>>
>>Is there a "better" way (really hate the idea of having to create a
>>directory under /module, but it won't kill me) or should I submit a
>>request to get the structure changed?
>>
>>BTW, I put all my project and module files under /project.
>>
>>See http://www.intellij.net/tracker/viewSCR?threadId=87588
>>and the IntelliJ reply.
>>
>>
>
>
Doubt it will get ignored from CVS. I didn¹t mean HIDE the file, just
ignore it from deployment, like you would exclude directories and files from
compiling, or you would include file types to be copied. IIRC, there is a
setting in the compiler which tells it what is a resource when compiling,
and it includes .gif, jpeg etc... So that is similar to what we need except
not for the compiler but for the deployer.
Hope I understood your question.
R
On 6/3/04 11:31 AM, in article 40BF446B.8050502@yahoo.com, "Norris Shelton"
<i.hate.spam@yahoo.com> wrote:
>>
>> I think that the way you do it is OK, it's ONE of the ways to do it. I
>> think the issue is that IDEA itself should just not be deploying .iml files
>> to the exploded dir. That's a bug as far as I'm concerned.
>>
>> What we need is a way to exclude certain file types also.
>>
>> R
>>
>>
>> On 6/3/04 9:33 AM, in article c9n9bl$e0m$1@is.intellij.net, "Norris Shelton"
>> <i.hate.spam@yahoo.com> wrote:
>>
>>
>>
>>>
>>> I have a /project directory with one or more /module directories
>>> underneath (almost always web modules). When I create a module, it
>>> defaults to place the module iml file in /module. This also servers as
>>> my content root.
>>> /project
>>> /module
>>> module.iml
>>> /WEB-INF
>>> /lib
>>>
>>> In other words, /module is my content root. This causes the module file
>>> to be deployed.
>>>
>>> Is there a "better" way (really hate the idea of having to create a
>>> directory under /module, but it won't kill me) or should I submit a
>>> request to get the structure changed?
>>>
>>> BTW, I put all my project and module files under /project.
>>>
>>> See http://www.intellij.net/tracker/viewSCR?threadId=87588
>>> and the IntelliJ reply.
>>>
>>>
>>
>>
>>
That is exactly what I am thinking.
Norris Shelton
Sun Certified Java Programmer
Robert Sfeir wrote:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>