Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2000, 2008 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2009 IBM Corporation and others. |
3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
Lines 724-731
Link Here
|
724 |
error = new ResourceException(IResourceStatus.FAILED_READ_METADATA, target.getFullPath(), msg, null); |
724 |
error = new ResourceException(IResourceStatus.FAILED_READ_METADATA, target.getFullPath(), msg, null); |
725 |
} |
725 |
} |
726 |
if (description != null) { |
726 |
if (description != null) { |
727 |
//don't trust the project name in the description file |
|
|
728 |
description.setName(target.getName()); |
729 |
if (!isDefaultLocation) |
727 |
if (!isDefaultLocation) |
730 |
description.setLocationURI(projectLocation); |
728 |
description.setLocationURI(projectLocation); |
731 |
if (creation && privateDescription != null) |
729 |
if (creation && privateDescription != null) |