facebook

Maximum length for a class???

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #231209 Reply

    Pipeline
    Participant

    I am running on MyEclipse 3.8.4 against WebLogic 8.1.3.

    I have several classes that are generated by JAXB that have multiple inner classes which result in compiled class names that can be as long as 150 characters.

    Is there a maximum size for a class name that MyEclipse has? It seems that any class that has a name that exceeds 128 characters halts the MyEclipse deployment process without any indication that there was a problem.

    Thank you,

    Cor

    #231244 Reply

    Scott Anderson
    Participant

    Cor,

    Is there a maximum size for a class name that MyEclipse has? It seems that any class that has a name that exceeds 128 characters halts the MyEclipse deployment process without any indication that there was a problem.

    There’s no internal limit, however with class names that long you’re likely hitting a Windows environmental limit for the length of a full path (256 characters). There’s not much we can do about that one since eventually the deployer must use file system calls to move the files around. There may be a way to increase the path length limit in Windows, but I’m not presently aware of them.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Maximum length for a class???

You must be logged in to post in the forum log in