[ 
https://issues.apache.org/jira/browse/IVYDE-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756708#action_12756708
 ] 

Jon Schneider commented on IVYDE-202:
-------------------------------------

There seems to be some sort of collision between the 3.0.4 attribute and the 
3.0.5 attribute that RAD is trying to suppress that causes the classpath 
container to not be visible in the JEE Module Dependencies table view when the 
product is upgraded to 7.5.3.  At any rate, this is more of an IBM problem than 
an IvyDE problem.

I have attached a documentation patch to the WTP Integration page that details 
the extra step that RAD developers will have to go through to make their 
classpath containers deployable.

> Another method for adding IvyDE classpath container to the WTP dynamic module 
> tree.
> -----------------------------------------------------------------------------------
>
>                 Key: IVYDE-202
>                 URL: https://issues.apache.org/jira/browse/IVYDE-202
>             Project: IvyDE
>          Issue Type: Improvement
>         Environment: IBM RAD 7.5.3, Websphere 6.1.0.25
>            Reporter: Jon Schneider
>         Attachments: ivyde-202.patch, rad_jee_page.jpg
>
>
> Recently, my colleagues at work upgraded from RAD 7.5.2 to RAD 7.5.3.  Before 
> the upgrade, IvyDE classpath containers showed up in the Web Libraries tab of 
> the JEE Module Dependencies preference page.  After the upgrade, the 
> classpath container is conspicuously missing.  Manually affecting the 
> .classpath to add the container attribute does not help to deploy the 
> contents of the container.
> After some exhaustive debugging with WTP 3.0.4 and WTP 3.0.5, I concluded 
> that the issue had to be somehow RAD specific.  IBM's response was:
> "This rings a bell. The ability to map "User Libraries" under Web libraries 
> was a piece of functionality that was removed between RAD 7.5.2 and 7.5.3.
> I did some digging and it seems the reason this was removed has something to 
> do with reliability issues...
> Apparently the old behaviour can be had by enabling the preference "Allow 
> loose classpath module dependencies" [in a RAD specific workspace preference 
> page] although there is a scary warning accompanying it."
> Unfortunately, the "old behavior" is not restored by enabling the preference.
> Really there is no workaround currently for it unless IBM reverses course on 
> their decision to disable this functionality of WTP.  So here is what I 
> propose (straight from the days before classpath containers were deployable 
> resources):
> Add some project level option that does 2 things:
> 1.  For jar classpath entries in the container, retrieve them to the 
> WEB-INF/lib directory of the Dynamic Web Project (then they will get picked 
> up by the Web App Libraries container?).
> 2.  For project reference entries in the container, construct an 
> IVirtualReference on the fly.
> I'm almost certain this is how Maven's plugin used to get around this issue 
> before classpath container deployability was an option, and I know I wrote 
> code to do that with a similar container a few years back.
> Suggestions?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to