Bug 274357 - Executing simply `ant ` in clean checkout fails
Summary: Executing simply `ant ` in clean checkout fails
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Marvin Schmidt CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2009-04-29 14:01 EDT by Alexander Kurtakov CLA
Modified: 2022-01-13 14:51 EST (History)
1 user (show)

See Also:


Attachments
remove devBuild target, depend on conditional fetch target (1.01 KB, patch)
2009-05-11 09:15 EDT, Marvin Schmidt CLA
overholt: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kurtakov CLA 2009-04-29 14:01:56 EDT
The error is the following:
ant
Buildfile: build.xml

clean:

bootstrap:

clean:

bootstrap:

BUILD FAILED
/home/akurtakov/work/linuxtools/eclipse-build/build.xml:21: The following error occurred while executing this line:
/home/akurtakov/work/linuxtools/eclipse-build/pdebuild.xml:75: Invalid file: /home/akurtakov/work/linuxtools/eclipse-build/SDK/plugins/org.eclipse.osgi

Total time: 0 seconds

It would be best if it can determine that we are trying a devBuild and runs it.
Comment 1 Marvin Schmidt CLA 2009-05-11 09:15:06 EDT
Created attachment 135132 [details]
remove devBuild target, depend on conditional fetch target
Comment 2 Marvin Schmidt CLA 2009-05-11 09:21:17 EDT
The above patch removes the devBuild target and adds a fetch target which will only be executed if the 'fetch.xml' file is present (in context of a subversion checkout). If it's not present, it expects the SDK in ${sdkSource} (in context of a all-in-one tarball for "end-users")
Comment 3 Alexander Kurtakov CLA 2009-05-11 09:30:49 EDT
Reopen until patch is committed.
Comment 4 Alexander Kurtakov CLA 2009-05-11 09:33:54 EDT
Applied.