U++ framework
Do not panic. Ask here before giving up.

Home » U++ TheIDE » U++ TheIDE: Packages » howto duplicate main package and rename classes "in bulk"?
Re: howto duplicate main package and rename classes "in bulk"? [message #270 is a reply to message #269] Mon, 05 December 2005 17:38 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
fudadmin wrote on Mon, 05 December 2005 10:32

luzr wrote on Mon, 05 December 2005 04:04

fudadmin wrote on Mon, 05 December 2005 03:23

howto duplicate main package and rename classes "in bulk"?


No direct support. You can "clone" package by copying its folder and renaming ".upp" file (.upp file contans the package information and must much the name of directory).

To rename classes, use Find in files.


Thank you! That's great!

Now I have Aris versioning system Cool :

1. Preparation - performed once:
1.1. Create your working dir e.g "uppMyWork" (paralell with upp).
1.2. Make a copy of "MyApps.var" (file in "upp" dir) and Rename to e.g "MyProject1.var"
1.3. Edit inside e.g "MyProject1.var" (e.g with Notepad) to have the correct dirs.
(That should enough to show "MyProject1" in Assembly column of package dialogue)

2. Every time you want - a new Project(assembly?):
2.1. Make a copy of any existing "*.var" to e.g "MyProject2.var" 2.2. Edit inside e.g "MyProject2.var" (e.g with Notepad) to have the correct dirs.

3. Every time you want - a new Versions of a project:
3.1. Copy and Rename a subdir with inside files e.g. "MyProject1" (in e.g "uppMyWork") to "MyProject2" and
3.2. Rename "MyProject1.upp" file inside the subdir to "MyProject2.upp"

Does it breach any Myrek's good rules Smile ?



Well, just keep in mind that you can have more main packages - projects in single nest. So perhaps "MyProjects" would work too... (as does MyApps...).

[Updated on: Mon, 05 December 2005 17:58] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Link error when building ide\Debuggers module? [SOLVED] -not main package
Next Topic: Bug
Goto Forum:
  


Current Time: Fri Oct 30 01:24:12 GMT+1 2026

Total time taken to generate the page: 0.00849 seconds