moved wizard under tools/estudio_wizard
This commit is contained in:
4
tools/estudio_wizard/rootdir_custom/ewf.dsc
Normal file
4
tools/estudio_wizard/rootdir_custom/ewf.dsc
Normal file
@@ -0,0 +1,4 @@
|
||||
NAME="EWF: Eiffel Web Framework application, multi-platform, with EWF source code"
|
||||
DESCRIPTION="Create a web server application based on the cross-platform library EWF. Using the original source code of EWF (i.e: not the one in $ISE_LIBRARY)"
|
||||
LOCATION="ewf_custom"
|
||||
PLATFORM="all"
|
||||
@@ -0,0 +1,24 @@
|
||||
setlocal
|
||||
|
||||
set TMP_ROOTDIR=%~dp0rootdir
|
||||
set TMP_TARGETNAME=custom_wizard
|
||||
|
||||
set WIZ_TARGET=%ISE_EIFFEL%\studio\wizards\new_projects\ewf
|
||||
rd /q/s %WIZ_TARGET%
|
||||
mkdir %WIZ_TARGET%
|
||||
xcopy /I /E /Y %TMP_ROOTDIR% %WIZ_TARGET%
|
||||
copy %~dp0rootdir_custom\ewf.dsc %WIZ_TARGET%\ewf.dsc
|
||||
copy %~dp0rootdir_custom\resources\* %WIZ_TARGET%\resources
|
||||
if not exist %WIZ_TARGET%\pixmaps mkdir %WIZ_TARGET%\pixmaps
|
||||
move %WIZ_TARGET%\ewf.dsc %WIZ_TARGET%\..\ewf.dsc
|
||||
|
||||
rd /q/s tmp
|
||||
mkdir tmp
|
||||
ecb -config ewf_ise_wizard-safe.ecf -target %TMP_TARGETNAME% -finalize -c_compile -project_path tmp
|
||||
rd /q/s %WIZ_TARGET%\spec
|
||||
mkdir %WIZ_TARGET%\spec
|
||||
mkdir %WIZ_TARGET%\spec\%ISE_PLATFORM%
|
||||
move tmp\EIFGENs\%TMP_TARGETNAME%\F_code\wizard.exe %WIZ_TARGET%\spec\%ISE_PLATFORM%\wizard.exe
|
||||
rd /q/s tmp
|
||||
|
||||
endlocal
|
||||
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir tmp
|
||||
ecb -config ewf_ise_wizard-safe.ecf -target custom_wizard -finalize -c_compile -project_path tmp
|
||||
mkdir -p custom/spec/$ISE_PLATFORM
|
||||
mv tmp/EIFGENs/custom_wizard/F_code/wizard custom/spec/$ISE_PLATFORM/wizard
|
||||
rm -rf tmp
|
||||
|
||||
WIZ_TARGET=$ISE_EIFFEL/studio/wizards/new_projects/ewf_custom
|
||||
rm -rf $WIZ_TARGET
|
||||
mkdir $WIZ_TARGET
|
||||
cp -r resources $WIZ_TARGET/resources
|
||||
cp -f custom/resources/* $WIZ_TARGET/resources
|
||||
cp -r custom/spec $WIZ_TARGET/spec
|
||||
cp custom/ewf.dsc $WIZ_TARGET/../ewf_custom.dsc
|
||||
rm -rf custom/spec
|
||||
21
tools/estudio_wizard/rootdir_custom/resources/template.ecf
Normal file
21
tools/estudio_wizard/rootdir_custom/resources/template.ecf
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-10-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-10-0 http://www.eiffel.com/developers/xml/configuration-1-10-0.xsd" name="${WIZ:TARGET_NAME}" uuid="${WIZ:UUID}">
|
||||
<target name="${WIZ:TARGET_NAME}">
|
||||
<root class="EWF_APPLICATION" feature="make_and_launch"/>
|
||||
<file_rule>
|
||||
<exclude>/EIFGENs$</exclude>
|
||||
<exclude>/CVS$</exclude>
|
||||
<exclude>/.svn$</exclude>
|
||||
</file_rule>
|
||||
<option warning="true" is_attached_by_default="true" void_safety="all" syntax="transitional">
|
||||
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
|
||||
</option>
|
||||
<setting name="concurrency" value="${WIZ:CONCURRENCY}"/>
|
||||
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
|
||||
<library name="default_${WIZ:EWF_CONNECTOR}" location="${WIZ:EWF_DIR}/library/server/wsf/default/${WIZ:EWF_CONNECTOR}-safe.ecf"/>
|
||||
<library name="encoder" location="${WIZ:EWF_DIR}/library/text/encoder/encoder-safe.ecf" readonly="false"/>
|
||||
<library name="wsf" location="${WIZ:EWF_DIR}/library/server/wsf/wsf-safe.ecf" readonly="false"/>
|
||||
<library name="http" location="${WIZ:EWF_DIR}/library/network/protocol/http/http-safe.ecf" readonly="false"/>
|
||||
<cluster name="src" location=".\src\" recursive="true"/>
|
||||
</target>
|
||||
</system>
|
||||
Reference in New Issue
Block a user