-
Notifications
You must be signed in to change notification settings - Fork 0
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
vahid.mehrjouei
committed
Nov 5, 2024
1 parent
62adc52
commit 61b1fb2
Showing
124 changed files
with
8,451 additions
and
903 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 |
---|---|---|
|
@@ -4,3 +4,6 @@ node_modules | |
.vim | ||
.yalc | ||
yalc.lock | ||
# allow only custom extensions | ||
**/hybris/bin/* | ||
!**/hybris/bin/custom/ |
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry kind="output" path="eclipsebin/notused"/> | ||
|
||
<classpathentry exported="false" kind="src" path="/platform" /> | ||
<classpathentry exported="true" kind="lib" path="resources" /> | ||
<classpathentry exported="true" output="eclipsebin/classes" kind="src" path="src" /> | ||
<classpathentry exported="false" output="eclipsebin/web/classes" kind="src" path="web/src" /> | ||
<classpathentry exported="true" output="eclipsebin/classes" kind="src" path="testsrc" /> | ||
<classpathentry exported="true" output="eclipsebin/classes" kind="src" path="gensrc" /> | ||
|
||
</classpath> | ||
|
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>kiwi</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name> | ||
<triggers>auto,full,</triggers> | ||
<arguments> | ||
<dictionary> | ||
<key>LaunchConfigHandle</key> | ||
<value><project>/.externalToolBuilders/HybrisCodeGeneration.launch</value> | ||
</dictionary> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.springframework.ide.eclipse.core.springbuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>net.sourceforge.pmd.eclipse.plugin.pmdBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.springframework.ide.eclipse.core.springnature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
<nature>net.sourceforge.pmd.eclipse.plugin.pmdNature</nature> | ||
</natures> | ||
</projectDescription> |
353 changes: 353 additions & 0 deletions
353
core-customize/hybris/bin/custom/kiwi/.settings/org.eclipse.jdt.core.prefs
Large diffs are not rendered by default.
Oops, something went wrong.
75 changes: 75 additions & 0 deletions
75
core-customize/hybris/bin/custom/kiwi/.settings/org.eclipse.jdt.ui.prefs
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 |
---|---|---|
@@ -0,0 +1,75 @@ | ||
#Tue Feb 03 16:09:22 CET 2009 | ||
comment_clear_blank_lines=true | ||
comment_format_comments=true | ||
comment_format_header=false | ||
comment_format_html=true | ||
comment_format_source_code=true | ||
comment_indent_parameter_description=true | ||
comment_indent_root_tags=true | ||
comment_line_length=160 | ||
comment_new_line_for_parameter=false | ||
comment_separate_root_tags=true | ||
eclipse.preferences.version=1 | ||
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true | ||
formatter_settings_version=11 | ||
org.eclipse.jdt.ui.exception.name=e | ||
org.eclipse.jdt.ui.gettersetter.use.is=true | ||
org.eclipse.jdt.ui.ignorelowercasenames=true | ||
org.eclipse.jdt.ui.importorder=de.hybris;java;javax;org;com;de; | ||
org.eclipse.jdt.ui.javadoc=true | ||
org.eclipse.jdt.ui.keywordthis=false | ||
org.eclipse.jdt.ui.ondemandthreshold=50 | ||
org.eclipse.jdt.ui.overrideannotation=true | ||
org.eclipse.jdt.ui.staticondemandthreshold=50 | ||
org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates/> | ||
sp_cleanup.add_default_serial_version_id=true | ||
sp_cleanup.add_generated_serial_version_id=false | ||
sp_cleanup.add_missing_annotations=true | ||
sp_cleanup.add_missing_deprecated_annotations=true | ||
sp_cleanup.add_missing_methods=false | ||
sp_cleanup.add_missing_nls_tags=false | ||
sp_cleanup.add_missing_override_annotations=true | ||
sp_cleanup.add_serial_version_id=false | ||
sp_cleanup.always_use_blocks=true | ||
sp_cleanup.always_use_parentheses_in_expressions=false | ||
sp_cleanup.always_use_this_for_non_static_field_access=false | ||
sp_cleanup.always_use_this_for_non_static_method_access=false | ||
sp_cleanup.convert_to_enhanced_for_loop=false | ||
sp_cleanup.correct_indentation=false | ||
sp_cleanup.format_source_code=true | ||
sp_cleanup.format_source_code_changes_only=false | ||
sp_cleanup.make_local_variable_final=true | ||
sp_cleanup.make_parameters_final=true | ||
sp_cleanup.make_private_fields_final=true | ||
sp_cleanup.make_type_abstract_if_missing_method=false | ||
sp_cleanup.make_variable_declarations_final=true | ||
sp_cleanup.never_use_blocks=false | ||
sp_cleanup.never_use_parentheses_in_expressions=true | ||
sp_cleanup.on_save_use_additional_actions=true | ||
sp_cleanup.organize_imports=true | ||
sp_cleanup.qualify_static_field_accesses_with_declaring_class=false | ||
sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true | ||
sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true | ||
sp_cleanup.qualify_static_member_accesses_with_declaring_class=false | ||
sp_cleanup.qualify_static_method_accesses_with_declaring_class=false | ||
sp_cleanup.remove_private_constructors=true | ||
sp_cleanup.remove_trailing_whitespaces=true | ||
sp_cleanup.remove_trailing_whitespaces_all=true | ||
sp_cleanup.remove_trailing_whitespaces_ignore_empty=false | ||
sp_cleanup.remove_unnecessary_casts=true | ||
sp_cleanup.remove_unnecessary_nls_tags=false | ||
sp_cleanup.remove_unused_imports=true | ||
sp_cleanup.remove_unused_local_variables=false | ||
sp_cleanup.remove_unused_private_fields=true | ||
sp_cleanup.remove_unused_private_members=false | ||
sp_cleanup.remove_unused_private_methods=true | ||
sp_cleanup.remove_unused_private_types=true | ||
sp_cleanup.sort_members=false | ||
sp_cleanup.sort_members_all=false | ||
sp_cleanup.use_blocks=true | ||
sp_cleanup.use_blocks_only_for_return_and_throw=false | ||
sp_cleanup.use_parentheses_in_expressions=false | ||
sp_cleanup.use_this_for_non_static_field_access=false | ||
sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true | ||
sp_cleanup.use_this_for_non_static_method_access=false | ||
sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true |
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 |
---|---|---|
@@ -0,0 +1,169 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
Copyright (c) 2021 SAP SE or an SAP affiliate company. All rights reserved. | ||
--> | ||
<project name="kiwi" default="all"> | ||
<property file="platformhome.properties" /> | ||
|
||
<!-- next line is only for eclipse to get rid of warnings --> | ||
<property name="platformhome" location=".." /> | ||
|
||
<import file="${platformhome}/resources/ant/antmacros.xml" /> | ||
|
||
|
||
<!-- | ||
*** WARNING *** WARNING *** WARNING *** WARNING *** WARNING *** WARNING *** WARNING *** | ||
WARNING: THIS FILE IS GENERATED AND WILL BE OVERWRITTEN DURING THE BUILD PROCESS. | ||
DO NOT EDIT THIS FILE. | ||
IF YOU WANT TO ADAPT THE BUILD PROCESS, CREATE A FILE | ||
CALLED buildcallbacks.xml IN YOUR EXTENSION. | ||
PLEASE ALSO REFER TO THE DOCUMENTATION ON THE HYBRIS HELP SITE | ||
(https://help.sap.com/viewer/d0224eca81e249cb821f2cdf45a82ace/LATEST/en-US/8b6ded0d86691014a6fab18e171c1f91.html). | ||
*** WARNING *** WARNING *** WARNING *** WARNING *** WARNING *** WARNING *** WARNING *** | ||
--> | ||
|
||
<target name="apidoc" description="build javadoc for the extension"> | ||
<apidoc extensions="${extname}" create.zip="true" zip.name="${extname}" /> | ||
</target> | ||
|
||
<target name="clean" description="cleans the extension"> | ||
<extension_clean extname="${extname}" /> | ||
</target> | ||
|
||
<target name="build" description="build all but do not touch appserver"> | ||
<extension_build extname="${extname}" /> | ||
</target> | ||
|
||
<target name="deploy" description="deploy complete extension"> | ||
<deploy /> | ||
</target> | ||
|
||
<target name="jspcompile" description="do jspcompile even if switched off"> | ||
<appserver_jspcompile extname="${extname}" /> | ||
</target> | ||
|
||
<target name="jspclean" description="cleans the jspcompiled classes"> | ||
<appserver_jspclean extname="${extname}" /> | ||
</target> | ||
|
||
<target name="all" depends="build,deploy" description="build and deploy complete extension"> | ||
</target> | ||
|
||
<target name="checkstyle"> | ||
<extension_checkstyle extname="${extname}" /> | ||
</target> | ||
|
||
<target name="dist_source"> | ||
<dist extensions.source="${extname}" finalzipname="${HYBRIS_TEMP_DIR}/dists/hybris-${extname}-${build.version}-${DSTAMP}_${TSTAMP}.zip" /> | ||
</target> | ||
|
||
<target name="dist"> | ||
<dist extensions.binary="${extname}" finalzipname="${HYBRIS_TEMP_DIR}/dists/hybris-${extname}-${build.version}-${DSTAMP}_${TSTAMP}.zip" /> | ||
</target> | ||
|
||
<target name="sourcezip" description="Creates a sourcezip of this extension"> | ||
<sourcezip extensions="${extname}" zipfile="${HYBRIS_TEMP_DIR}/dists/hybris-${extname}-sourcezip-${build.version}-${DSTAMP}_${TSTAMP}.zip" /> | ||
</target> | ||
|
||
<target name="classpathgen" description="Generates an eclipse .classpath file"> | ||
<create_extension_classpath_file extname="${extname}" /> | ||
</target> | ||
|
||
<target name="gensource"> | ||
<gensource /> | ||
</target> | ||
|
||
<target name="build_war" description="builds war for extension"> | ||
<buildwar extname="${extname}" /> | ||
</target> | ||
|
||
<target name="clean_war" description="cleans war for extension"> | ||
<cleanwar extname="${extname}" /> | ||
</target> | ||
|
||
<target name="sonarcheck" description="Executes sonar to check this project with the sonar rules."> | ||
<sonarcheck extensions="${extname}"/> | ||
</target> | ||
|
||
<!-- deprecated junit targets --> | ||
<target name="yunit" description="execute all junit tests of this extension"> | ||
<!-- <extension_yunit extname="${extname}" /> --> | ||
<fail message="Please use the 'alltests' target instead of 'yunit'" /> | ||
</target> | ||
|
||
<target name="yunitweb" description="execute all web junit tests of this extension"> | ||
<extension_yunitweb extname="${extname}" /> | ||
</target> | ||
|
||
<target name="yunitinit" description="initialize the junit system"> | ||
<yunitinit /> | ||
</target> | ||
|
||
<!-- new style junit targets, see https://wiki.hybris.com/display/release4/Test+Framework+Enhancements --> | ||
<target name="unittests" description="executes all unittests of this extension"> | ||
<annotationtests annotations="unittests" extensions="${extname}" /> | ||
</target> | ||
|
||
<target name="demotests" description="executes all demotests of this extension"> | ||
<annotationtests annotations="demotests" extensions="${extname}" /> | ||
</target> | ||
|
||
<target name="integrationtests" description="executes all integrationtests of this extension"> | ||
<annotationtests annotations="integrationtests" extensions="${extname}" /> | ||
</target> | ||
|
||
<target name="performancetests" description="executes all performancetests of this extension"> | ||
<annotationtests annotations="performancetests" extensions="${extname}" /> | ||
</target> | ||
|
||
<target name="manualtests" description="executes all manualtests of this extension"> | ||
<annotationtests annotations="manualtests" extensions="${extname}" /> | ||
</target> | ||
|
||
<target name="alltests" description="executes all tests of this extension except manualtests and performancetests"> | ||
<annotationtests extensions="${extname}" annotations="unittests,demotests,integrationtests" /> | ||
</target> | ||
|
||
<target name="codequality" description="executes all codequality tests for this extension"> | ||
<sonarcheck extensions="${extname}" /> | ||
</target> | ||
|
||
<target name="localizationtest" description="runs the localizationtest to see if all types are localized within the extension"> | ||
<annotationtests extensions="${extname}" packages="*.LocalizationTest" /> | ||
</target> | ||
|
||
<target name="typecodetest" description="runs the reservedtypecodetest to see if any reserved typecodes are being used by this extension"> | ||
<annotationtests extensions="${extname}" packages="*.ReservedTypecodeTest" /> | ||
</target> | ||
|
||
<!-- maven targets --> | ||
<target name="testMavenDependencies" description="compares the defined maven dependencies with the current lib folder without changing anything"> | ||
<testMavenDependencies extname="${extname}" /> | ||
</target> | ||
|
||
<target name="updateMavenDependencies" description="deletes all jars in the extensions lib folder and replaces them with the defined maven dependencies"> | ||
<updateMavenDependencies extname="${extname}" /> | ||
</target> | ||
|
||
<!-- uml --> | ||
<target name="uml" description="converts the items.xml file of this extension into an xmi uml file"> | ||
<extension_uml extname="${extname}" mode="normal" /> | ||
</target> | ||
|
||
<target name="uml_simple" description="converts the items.xml file of this extension into an xmi uml file, using a simplified mapping"> | ||
<extension_uml extname="${extname}" mode="simple" /> | ||
</target> | ||
|
||
<target name="clean_uml" description="deletes all exported uml xmi files"> | ||
<extension_clean_uml extname="${extname}" /> | ||
</target> | ||
|
||
<target name="webservice_nature" description="provides webservice nature to selected extension"> | ||
<set_webservice_nature extensionname="${extname}" /> | ||
</target> | ||
|
||
</project> |
Binary file added
BIN
+1.79 KB
core-customize/hybris/bin/custom/kiwi/classes/com/acme/infra/demo/KiwiStandalone.class
Binary file not shown.
Binary file added
BIN
+494 Bytes
...custom/kiwi/classes/com/acme/infra/demo/constants/GeneratedKiwiConstants$Attributes.class
Binary file not shown.
Binary file added
BIN
+666 Bytes
...ris/bin/custom/kiwi/classes/com/acme/infra/demo/constants/GeneratedKiwiConstants$TC.class
Binary file not shown.
Binary file added
BIN
+774 Bytes
...hybris/bin/custom/kiwi/classes/com/acme/infra/demo/constants/GeneratedKiwiConstants.class
Binary file not shown.
Binary file added
BIN
+443 Bytes
...ustomize/hybris/bin/custom/kiwi/classes/com/acme/infra/demo/constants/KiwiConstants.class
Binary file not shown.
Binary file added
BIN
+3.62 KB
...mize/hybris/bin/custom/kiwi/classes/com/acme/infra/demo/jalo/GeneratedInfraDemoItem.class
Binary file not shown.
Binary file added
BIN
+4.36 KB
...tomize/hybris/bin/custom/kiwi/classes/com/acme/infra/demo/jalo/GeneratedKiwiManager.class
Binary file not shown.
Binary file added
BIN
+1.31 KB
core-customize/hybris/bin/custom/kiwi/classes/com/acme/infra/demo/jalo/InfraDemoItem.class
Binary file not shown.
Binary file added
BIN
+1.19 KB
core-customize/hybris/bin/custom/kiwi/classes/com/acme/infra/demo/jalo/KiwiManager.class
Binary file not shown.
Binary file added
BIN
+326 Bytes
...stomize/hybris/bin/custom/kiwi/classes/com/acme/infra/demo/servicelayer/KiwiService.class
Binary file not shown.
Binary file added
BIN
+1.97 KB
...is/bin/custom/kiwi/classes/com/acme/infra/demo/servicelayer/impl/DefaultKiwiService.class
Binary file not shown.
Oops, something went wrong.