Commit 789931e3 authored by claes's avatar claes

Export java adapted to build method for webhandler

parent 1744f4c7
/*
* Proview $Id: ge.cpp,v 1.19 2005-12-15 07:43:03 claes Exp $
* Proview $Id: ge.cpp,v 1.20 2006-03-31 14:34:12 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -1639,6 +1639,7 @@ static void ge_activate_generate_web( Widget w, ge_tCtx gectx, XmAnyCallbackStru
ge_message( gectx, 'E', "Error from generate web");
else
ge_message( gectx, 'I', "Web-pages generated");
Graph::generate_web_help();
}
static void ge_activate_creanextpage( Widget w, ge_tCtx gectx, XmAnyCallbackStruct *data)
......
/*
* Proview $Id: ge_graph.h,v 1.20 2006-02-23 14:46:05 claes Exp $
* Proview $Id: ge_graph.h,v 1.21 2006-03-31 14:34:12 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -1310,6 +1310,9 @@ class Graph {
/*! \param ldhses Ldh session. */
static int generate_web( ldh_tSesContext ldhses);
//! Generate web help from xtt_help.
static int generate_web_help();
//
// Convert module
//
......
/*
* Proview $Id: ge_graph_web.cpp,v 1.7 2005-09-01 14:57:53 claes Exp $
* Proview $Id: ge_graph_web.cpp,v 1.8 2006-03-31 14:34:12 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -526,6 +526,16 @@ graph_text << "'," << resize << "," << width+20 << "," << height+20
fp_ows.close();
printf( "-- Web startpages generated $pwrp_web/%s.html and %s_opwin.html\n", name, name);
#endif
return 1;
}
int Graph::generate_web_help()
{
pwr_tStatus sts;
pwr_tFileName fname;
// Copy default css-file to pwrp_web
system( "cp $pwr_exe/pwr_css.css $pwrp_web/");
......@@ -537,10 +547,6 @@ graph_text << "'," << resize << "," << width+20 << "," << height+20
}
sts = dcli_search_file( "$pwrp_exe/xtt_help.dat", fname,
DCLI_DIR_SEARCH_END);
printf( "-- Web startpages generated $pwrp_web/%s.html and %s_opwin.html\n", name, name);
#endif
return 1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment