Change the default project directory

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Change the default project directory

3,230 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ngoncalves on Fri Apr 20 02:28:09 MST 2012
Hi,

I have "LPCXpresso v4.1.5 [Build 219] [12/12/2011]" running on Windows 7, and I want to create a new project.

The problem I am having is that the project files are always in "c:\workspace\proj_name", even when I specifically disable the default location option and give it a different directory.

How can I create the project in a directory different than the default ?

Thanks,

  Nelson
0 项奖励
回复
14 回复数

2,749 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by researchinnovation on Fri Apr 20 21:59:02 MST 2012
Hi....!!!

Are you able to switch your workspace now.   :-))
0 项奖励
回复

2,749 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Fri Apr 20 17:27:40 MST 2012
[FONT=Tahoma][SIZE=2]Thanks TheFallGuy, I'll definately investigate these. Mike[/SIZE][/FONT]
0 项奖励
回复

2,749 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Fri Apr 20 10:48:42 MST 2012
There are some vim plugins for eclipse that you might want to try
- http://vrapper.sourceforge.net/home/
- http://eclim.org/
- http://www.viplugin.com/viplugin/
0 项奖励
回复

2,749 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Apr 20 10:37:10 MST 2012

Quote: ngoncalves

How can I create the project in a directory different than the default ?



You might find the Getting Started Guide that we ship with Red Suite (which LPCXpresso IDE is a reduced functionality version of) a useful compliment to the LPCXpresso IDE Getting Started that NXP provide. You can download this from:

http://support.code-red-tech.com/CodeRedWiki/RedSuite4docs

In the current version, section 4.1 covers your question about workspaces.

You might also find the following video provides some useful information on general usage of the tools too...

http://ics.nxp.com/support/training/learn.eclipse.lpcxpresso/

Regards,

CodeRedSupport
0 项奖励
回复

2,749 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Fri Apr 20 09:45:45 MST 2012
[FONT=Tahoma][SIZE=2]
Quote:
If the IDE cannot handle a simple change like this, it is not much of an IDE to begin with.

[/SIZE][/FONT][FONT=Tahoma][SIZE=2]        
[/SIZE][/FONT] [FONT=Tahoma][SIZE=2]I agree, I hate it when an IDE forces its methodology on you with no real way to customise things. Nanny does NOT always know best.

I don't like source and include in different dirs, (we [I]can[/I] prevent this in LPCXpresso), riduculously deep folder structures (LPCXp is not too bad here, but I'd still like [I]all[/I] files in the one dir -- yes objects, executables, temps, makefile, ld scripts, [I]everything[/I]!).

This what [I]I[/I] like; others [I]should[/I] be permitted to choose for themselves.

The worst thing I hate with IDE's is the disproportionate emphasis the place on their editor -- [I]and[/I] make you use it rather than the much better (IMHO of course) gVim. [Actually, what I do is to use gVim externally and let the IDE detect the external file changes.]

Of course, they put so much effort into stuff I do not want -- syntax colouring, intelisense (by another name Microsoft), unselected code by defines, and who knows what else, that you can sympathise with their evangelism.

My favourite IDE is a command window! ;)

Ok, Rant Mode Off. :D

[/SIZE][/FONT]
0 项奖励
回复

2,749 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ngoncalves on Fri Apr 20 08:03:36 MST 2012

Quote: Zero
Why are you filling Eclipe Workspace with additional problems :rolleyes:

Is that a 'No risk - No fun' thing?



I like to live dangerously :D

Ok, seriously. I just want the workspace (as it is understood in the context of eclipse) to be in the directory "/proj_name/code" instead of the default "c:\workspace\proj_name". This makes sense for me, but I not am advocating that everybody else is wrong.

If the IDE cannot handle a simple change like this, it is not much of an IDE to begin with.
0 项奖励
回复

2,749 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Apr 20 06:44:21 MST 2012

Quote: ngoncalves
I have a directory structure for each project:

/proj_name
   |
   +-------- Schematics
   |
   +-------- Code
   |
   +-------- Manual



Why are you filling Eclipe Workspace with additional problems :rolleyes:

Is that a 'No risk - No fun' thing?
0 项奖励
回复

2,749 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ngoncalves on Fri Apr 20 06:30:13 MST 2012

Quote: researchinnovation
@Ngoncalves:-Using  file->switch workspace->other, you can go across different workspace but at any instant of time you can run only a single program/project ...Rite..?
What do you want to do..?
Do you want to run multi program/projects a time.


Thanks...:)



I have a directory structure for each project:

/proj_name
   |
   +-------- Schematics
   |
   +-------- Code
   |
   +-------- Manual

"Project" here means the whole thing, not just the software part. Which explains part of the confusion with the names.

All I want is to have the source code in "/proj_name/Code", but LPCXpresso kept creating it is "c:\workspace\proj_name".

I knew this could be changed, but could not figure how to do it.

I also know that the "workspace" is the LPCXpresso IDE is more of a virtual entity, grouping together various projects in the same file system directory. At the moment I only have one project in the workspace ("workspace" and a "project" in the LPCXpresso context).

That is all. A simple thing, but the names got confused at a given point.
0 项奖励
回复

2,749 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by researchinnovation on Fri Apr 20 03:57:02 MST 2012
@Ngoncalves:-Using  file->switch workspace->other, you can go across different workspace but at any instant of time you can run only a single program/project ...Rite..?
What do you want to do..?
Do you want to run multi program/projects a time.


Thanks...:)
0 项奖励
回复

2,749 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ngoncalves on Fri Apr 20 03:43:52 MST 2012

Quote: frame
'Workspaces' are a concept of the underlying Eclipse IDE.
A workspace can contain one or more projects, and let you manage projects as a group, having interdependencies.

I suggest to study the Eclipse documentation in more detail.



I know about the difference between workspaces and projects, but I failed to explain my problem correctly.

I just wanted to change the directory where the workspace is located. At the moment I have only one project in the workspace, hence the confusion with the names.
0 项奖励
回复

2,749 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ngoncalves on Fri Apr 20 03:41:14 MST 2012

Quote: Polux rsv
A simple search through the various menus: file->switch workspace->other :rolleyes::D

Angelo



Thanks ! This was exactly what I was looking for.
0 项奖励
回复

2,749 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Polux rsv on Fri Apr 20 03:17:18 MST 2012
A simple search through the various menus: file->switch workspace->other :rolleyes::D

Angelo
0 项奖励
回复

2,749 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by frame on Fri Apr 20 03:11:52 MST 2012
'Workspaces' are a concept of the underlying Eclipse IDE.
A workspace can contain one or more projects, and let you manage projects as a group, having interdependencies.

I suggest to study the Eclipse documentation in more detail.
0 项奖励
回复

2,749 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by researchinnovation on Fri Apr 20 03:07:50 MST 2012
Hi  Ngoncalves...!!!

Instead of c:\workspace\proj_name, you can give D:\workspace\proj_name or, E:\workspace\proj_name when you open your IDE it will ask for the path so you can change it.
But to create a new project there .metadata and CMSIS should be there.:)
0 项奖励
回复