-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
57 additions
and
354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<!-- | ||
[y] hybris Platform | ||
Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. | ||
This software is the confidential and proprietary information of SAP | ||
("Confidential Information"). You shall not disclose such Confidential | ||
Information and shall use it only in accordance with the terms of the | ||
license agreement you entered into with SAP. | ||
--><project> | ||
|
||
<project> | ||
<macrodef name="hacvcsinfo_after_build"> | ||
<sequential> | ||
<!--you may want to change the dir="..." property --> | ||
<exec executable="git" outputproperty="commit-hash" failifexecutionfails="false" failonerror="false" resultproperty="return.code" > | ||
<exec executable="git" dir="${ext.hacvcsinfo.path}" outputproperty="commit-hash" failifexecutionfails="false" failonerror="false" resultproperty="return.code" > | ||
<arg value="rev-parse"/> | ||
<arg value="--short"/> | ||
<arg value="HEAD"/> | ||
</exec> | ||
<exec executable="git" outputproperty="commit-tag" failifexecutionfails="false" failonerror="false" resultproperty="return.code" > | ||
<exec executable="git" dir="${ext.hacvcsinfo.path}" outputproperty="commit-tag" failifexecutionfails="false" failonerror="false" resultproperty="return.code" > | ||
<arg value="describe"/> | ||
<arg value="--always"/> | ||
<arg value="--tags"/> | ||
</exec> | ||
<exec executable="git" outputproperty="commit-branch" failifexecutionfails="false" failonerror="false" resultproperty="return.code" > | ||
<exec executable="git" dir="${ext.hacvcsinfo.path}" outputproperty="commit-branch" failifexecutionfails="false" failonerror="false" resultproperty="return.code" > | ||
<arg value="symbolic-ref"/> | ||
<arg value="--short"/> | ||
<arg value="HEAD"/> | ||
</exec> | ||
<exec executable="git" dir="${ext.hacvcsinfo.path}" outputproperty="commit-msg" failifexecutionfails="false" failonerror="false" resultproperty="return.code" > | ||
<arg value="show"/> | ||
<arg value="-s"/> | ||
<arg value="--format=%s"/> | ||
<arg value="HEAD"/> | ||
</exec> | ||
<echo message="hacvcsinfo hash: ${commit-hash}" /> | ||
<echo message="hacvcsinfo tag: ${commit-tag}" /> | ||
<echo message="hacvcsinfo branch: ${commit-branch}" /> | ||
<echo message="hacvcsinfo message: ${commit-msg}" /> | ||
<propertyfile file="${ext.hacvcsinfo.path}/resources/hacvcsinfo/vcs.properties"> | ||
<entry key="commit" value="${commit-hash}"/> | ||
<entry key="tag" value="${commit-tag}"/> | ||
<entry key="branch" value="${commit-branch}"/> | ||
<entry key="message" value="${commit-msg}"/> | ||
</propertyfile> | ||
</sequential> | ||
</macrodef> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<!-- | ||
[y] hybris Platform | ||
Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. | ||
This software is the confidential and proprietary information of SAP | ||
("Confidential Information"). You shall not disclose such Confidential | ||
Information and shall use it only in accordance with the terms of the | ||
license agreement you entered into with SAP. | ||
--><extensioninfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="extensioninfo.xsd"> | ||
<extensioninfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="extensioninfo.xsd"> | ||
<extension abstractclassprefix="Generated" classprefix="Yhacext" managername="YhacextManager" managersuperclass="de.hybris.platform.jalo.extension.Extension" name="hacvcsinfo" usemaven="false"> | ||
|
||
<coremodule generated="true" manager="hacvcsinfo.jalo.YhacextManager" packageroot="hacvcsinfo"/> | ||
|
||
<coremodule generated="true" manager="de.hybris.platform.jalo.extension.GenericManager" packageroot="hacvcsinfo"/> | ||
<meta key="hac-module" value="true"/> | ||
|
||
</extension> | ||
|
||
</extensioninfo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,10 @@ | ||
<!-- | ||
[y] hybris Platform | ||
Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. | ||
This software is the confidential and proprietary information of SAP | ||
("Confidential Information"). You shall not disclose such Confidential | ||
Information and shall use it only in accordance with the terms of the | ||
license agreement you entered into with SAP. | ||
--> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>de.hybris.platform</groupId> | ||
<artifactId>hacvcsinfo</artifactId> | ||
<version>18.08.0-RC16</version> | ||
|
||
<packaging>jar</packaging> | ||
|
||
<dependencies> | ||
</dependencies> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,2 @@ | ||
# ----------------------------------------------------------------------- | ||
# [y] hybris Platform | ||
# | ||
# Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. | ||
# | ||
# This software is the confidential and proprietary information of SAP | ||
# ("Confidential Information"). You shall not disclose such Confidential | ||
# Information and shall use it only in accordance with the terms of the | ||
# license agreement you entered into with SAP. | ||
# ----------------------------------------------------------------------- | ||
|
||
hacvcsinfo.key=value | ||
|
||
# Specifies the location of the spring context file putted automatically to the global platform application context. | ||
hacvcsinfo.application-context=hacvcsinfo-spring.xml | ||
|
||
# https://jira.hybris.com/browse/ECP-2832 | ||
hac.tomcat.tld.scan=displaytag*.jar,jstl*.jar,jstl-impl*.jar,*_hac.jar | ||
hac.tomcat.pluggability.scan=displaytag*.jar,jstl*.jar,jstl-impl*.jar,*_hac.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,3 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<!-- | ||
[y] hybris Platform | ||
Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. | ||
This software is the confidential and proprietary information of SAP | ||
("Confidential Information"). You shall not disclose such Confidential | ||
Information and shall use it only in accordance with the terms of the | ||
license agreement you entered into with SAP. | ||
--> | ||
<!-- | ||
ATTENTION: This is just an example file. You have to edit it according to your needs. | ||
--> | ||
|
||
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="beans.xsd"> | ||
|
||
</beans> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,6 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
<!-- | ||
[y] hybris Platform | ||
Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. | ||
This software is the confidential and proprietary information of SAP | ||
("Confidential Information"). You shall not disclose such Confidential | ||
Information and shall use it only in accordance with the terms of the | ||
license agreement you entered into with SAP. | ||
--> | ||
<!-- | ||
ATTENTION: This is just an example file. You have to edit it according to your needs. | ||
--> | ||
|
||
<items xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="items.xsd"> | ||
|
||
xsi:noNamespaceSchemaLocation="items.xsd"> | ||
<itemtypes> | ||
|
||
</itemtypes> | ||
</items> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,11 @@ | ||
/* | ||
* [y] hybris Platform | ||
* | ||
* Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. | ||
* | ||
* This software is the confidential and proprietary information of SAP | ||
* ("Confidential Information"). You shall not disclose such Confidential | ||
* Information and shall use it only in accordance with the terms of the | ||
* license agreement you entered into with SAP. | ||
*/ | ||
package hacvcsinfo.constants; | ||
|
||
/** | ||
* Global class for all Yhacext constants. You can add global constants for your extension into this class. | ||
*/ | ||
public final class YhacextConstants extends GeneratedYhacextConstants | ||
{ | ||
public static final String EXTENSIONNAME = "hacvcsinfo"; | ||
|
||
private YhacextConstants() | ||
{ | ||
//empty to avoid instantiating this constant class | ||
} | ||
|
||
// implement here constants used by this extension | ||
} | ||
package hacvcsinfo.constants; | ||
|
||
@SuppressWarnings({"deprecation","squid:CallToDeprecatedMethod"}) | ||
public class YhacextConstants extends GeneratedYhacextConstants | ||
{ | ||
public static final String EXTENSIONNAME = "hacvcsinfo"; | ||
private YhacextConstants() | ||
{ | ||
//empty | ||
} | ||
} |
Oops, something went wrong.