facebook

How to change default yourcompany to something else

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #228752 Reply

    edgekaos
    Member

    When using the struts wizards to generate classes yourcompany name will be used as part of the pakage name. For example: com.yourcompany.strusts.action.UserLoginAction.java

    You can change this in the wizard but one has to do this every time.

    Project->properties->MyEclipse-Stuts offers a place to change the Base Package but it’s either not related or does not work.

    #228836

    Riyad Kalla
    Member

    I was not able to reproduce your problem, here is what I did:

    MyEclipse 3.8.4 Stable
    Eclipse 3.0.2

    1) Created new web project
    2) Added Struts capabilities (using com.yourcompany…)
    3) Went to project properties, changed it to com.blarg.struts
    4) Opened the struts-config.xml file and used the Action button to add a new action Login
    5) A new Java files was created in the package com.blarg.struts.action named Login

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How to change default yourcompany to something else

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