We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 65f265f + 4973165 commit 2791b84Copy full SHA for 2791b84
1 file changed
build/build-bundle.xml
@@ -185,8 +185,17 @@
185
</antcall>
186
</then>
187
</elseif>
188
+ <elseif>
189
+ <available file="${project.basedir}\bin\archived\${bundle.name}${input.bundle}" type="dir"/>
190
+ <then>
191
+ <echo message="Bundle version found in archived location: ${project.basedir}\bin\archived\${bundle.name}${input.bundle}"/>
192
+ <antcall target="release.one">
193
+ <param name="bundle.path" value="${project.basedir}\bin\archived\${bundle.name}${input.bundle}"/>
194
+ </antcall>
195
+ </then>
196
+ </elseif>
197
<else>
- <fail message="Invalid bundle's version for ${bundle.name}"/>
198
+ <fail message="Invalid bundle's version for ${bundle.name}. Checked both /bin/ and /bin/archived/ locations."/>
199
</else>
200
</if>
201
</target>
0 commit comments