|
Lines 59-67
Link Here
|
| 59 |
private static final String PROP_FILETOCHECK = "fileToCheck"; //$NON-NLS-1$ |
59 |
private static final String PROP_FILETOCHECK = "fileToCheck"; //$NON-NLS-1$ |
| 60 |
private static final String PROP_ELEMENTNAME = "elementName"; //$NON-NLS-1$ |
60 |
private static final String PROP_ELEMENTNAME = "elementName"; //$NON-NLS-1$ |
| 61 |
|
61 |
|
| 62 |
//Associated repository provider |
|
|
| 63 |
private static final String CVS_DIRECTIVES = ";type:=psf;provider:=\"org.eclipse.team.cvs.core.cvsnature\""; //$NON-NLS-1$ |
| 64 |
|
| 65 |
private void generateAuthentificationAntTask(Map entryInfos, IAntScript script) { |
62 |
private void generateAuthentificationAntTask(Map entryInfos, IAntScript script) { |
| 66 |
String password = (String) entryInfos.get(KEY_PASSWORD); |
63 |
String password = (String) entryInfos.get(KEY_PASSWORD); |
| 67 |
String cvsPassFileLocation = (String) entryInfos.get(KEY_CVSPASSFILE); |
64 |
String cvsPassFileLocation = (String) entryInfos.get(KEY_CVSPASSFILE); |
|
Lines 213-219
Link Here
|
| 213 |
if (repoLocation != null && projectName != null) { |
210 |
if (repoLocation != null && projectName != null) { |
| 214 |
String sourceURLs = asReference(repoLocation, module != null ? module : projectName, projectName, tag); |
211 |
String sourceURLs = asReference(repoLocation, module != null ? module : projectName, projectName, tag); |
| 215 |
if (sourceURLs != null) { |
212 |
if (sourceURLs != null) { |
| 216 |
entryInfos.put(Constants.KEY_SOURCE_REFERENCES, sourceURLs + CVS_DIRECTIVES); |
213 |
entryInfos.put(Constants.KEY_SOURCE_REFERENCES, sourceURLs); |
| 217 |
} |
214 |
} |
| 218 |
} |
215 |
} |
| 219 |
} |
216 |
} |
|
Lines 249-256
Link Here
|
| 249 |
buffer.append(':'); |
246 |
buffer.append(':'); |
| 250 |
buffer.append(module); |
247 |
buffer.append(module); |
| 251 |
|
248 |
|
| 252 |
buffer.append(";project="); //$NON-NLS-1$ |
249 |
Path modulePath = new Path(module); |
| 253 |
buffer.append(projectName); |
250 |
if (!modulePath.lastSegment().equals(projectName)) { |
|
|
251 |
buffer.append(";project="); //$NON-NLS-1$ |
| 252 |
buffer.append(projectName); |
| 253 |
} |
| 254 |
|
254 |
|
| 255 |
if (tagName != null) { |
255 |
if (tagName != null) { |
| 256 |
buffer.append(";tag="); //$NON-NLS-1$ |
256 |
buffer.append(";tag="); //$NON-NLS-1$ |