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 91312 - case problem when opening netbeans projects from linux on windows
Summary: case problem when opening netbeans projects from linux on windows
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-20 09:32 UTC by vignesh4nb
Modified: 2007-01-05 12:59 UTC (History)
1 user (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 vignesh4nb 2006-12-20 09:32:18 UTC
I developed struts based application using netbeans 5.5 on debian linux and i 
deployed it on both bundled tomcat server and external tomcat server, it was 
working fine. when i ship the application war file under dist folder of 
application root to windows for it to be deployed there in another tomcat it 
doesn't get intall. moreover when i copy my application folder (ie netbeans 
project folder) from linux to windows many of .java file's case got changed. 
eg : CompoundWallMaster.java got changed to CompoundwallMaster.java and the 
references that were created using these classes.

 so i am getting compilation errors. any way this could be overcome by doing 
refactor facility provided by netbeans IDE, would any one let me know why such 
case conversion take place especially when i ship code from one platform to 
another platform.

thanks in advance

vigneshraja
Comment 1 Sherold Dev 2007-01-04 14:32:35 UTC
> to be deployed there in another tomcat it doesn't get intall

How do you deploy it? Do you deploy it to the NetBeans bundled Tomcat or to a
standalone Tomcat? Doesn't get installed means doesn't get deployed?

> moreover when i copy my application folder (ie netbeans 
> project folder) from linux to windows many of .java file's case got changed.
> eg : CompoundWallMaster.java got changed to CompoundwallMaster.java and the 
> references that were created using these classes.

From what was said above it is not clear how NetBeans are involved in changing
the file names. It does not look like a NetBeans issue to me.



Comment 2 Sherold Dev 2007-01-05 12:59:38 UTC
Vignes, please keep the discussion in the issuezilla so that also others can
follow it.

>thanx for coming up with that comment. But u see, not only what i mentioned,
>sometimes, when i transfer my netbeans project folder from windows to linux
>, WEB-INF folder in web folder has got it name changed as web-inf ; so that
>when i try to run it that application fails throwing error such as theres no
>file name ..../web-inf/lib/ant.jar , for  example. This comes from
>build-impl.xml file where entries for library jar files has got their
>relative path information.No way unless i rename it (web-inf to WEB-INF)
>that doesn't work.Not only WEB-INF, But META-INF too. Any way it works only
>after changing the name because servlet container expects that in that
>fashion. Ok , my wonder how those folder names which are upper case getting
>changed into lower cases ?
>
>I use debian linux with kernel version 2.6.12 and Windows XP.
>I copied through USB stick.

From what you have described I really don't see how this could be a NetBeans
issue. Closing the issue as INVALID.

You should probably post you problem to the nbuses mailing list, which is the
right place for asking this kind of questions. Anyway, zipping your project,
taking it to the other system and unzipping it there might hopefully work for you.